Browse Source

added cell

pull/1/head
gme_2 6 years ago
parent
commit
8959087bad
  1. 7
      GMERemittance/Module/Cell/ExchangeRateCollectionViewCell.swift
  2. 1
      GMERemittance/Module/ExchangeRate.storyboard

7
GMERemittance/Module/Cell/ExchangeRateCollectionViewCell.swift

@ -9,12 +9,17 @@
import UIKit import UIKit
class ExchangeRateCollectionViewCell: UICollectionViewCell { class ExchangeRateCollectionViewCell: UICollectionViewCell {
@IBOutlet weak var imageview: UIImageView!
@IBOutlet weak var imageview: UIImageView!
@IBOutlet weak var cellBackgroundview: UIView! @IBOutlet weak var cellBackgroundview: UIView!
@IBOutlet weak var paymentLabel: UILabel! @IBOutlet weak var paymentLabel: UILabel!
@IBOutlet weak var subtitleLabel: UILabel!
var cellSelected = false var cellSelected = false
var title: String?
var subtitle: String?
var paymentMode: PaymentMode?
func setup() { func setup() {
self.imageview.image = #imageLiteral(resourceName: "ic_bank") self.imageview.image = #imageLiteral(resourceName: "ic_bank")

1
GMERemittance/Module/ExchangeRate.storyboard

@ -207,6 +207,7 @@
<outlet property="cellBackgroundview" destination="DWE-i9-G7W" id="Jdt-TX-CAh"/> <outlet property="cellBackgroundview" destination="DWE-i9-G7W" id="Jdt-TX-CAh"/>
<outlet property="imageview" destination="gEk-vm-2QU" id="uaw-gN-HFb"/> <outlet property="imageview" destination="gEk-vm-2QU" id="uaw-gN-HFb"/>
<outlet property="paymentLabel" destination="65v-Oa-vur" id="HRw-KO-Ng2"/> <outlet property="paymentLabel" destination="65v-Oa-vur" id="HRw-KO-Ng2"/>
<outlet property="subtitleLabel" destination="tzM-IT-M6x" id="ZLo-7S-ecp"/>
</connections> </connections>
</collectionViewCell> </collectionViewCell>
</cells> </cells>

Loading…
Cancel
Save