You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
854 B
32 lines
854 B
//
|
|
// AutoDebitTableViewCell.swift
|
|
// GME Remit
|
|
//
|
|
// Created by Mac on 12/19/18.
|
|
// Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
class AutoDebitTableViewCell: UITableViewCell {
|
|
@IBOutlet weak var labelRecipientName: UILabel!
|
|
@IBOutlet weak var accountNumnerLabel: UILabel!
|
|
@IBOutlet weak var mainView: UIView!
|
|
|
|
func setup(with model: Account?) {
|
|
let name = model?.bankName
|
|
labelRecipientName.text = name
|
|
accountNumnerLabel.text = model?.accountNumMasked
|
|
|
|
// mainView.layer.borderColor = UIColor(red:0.91, green:0.93, blue:0.95, alpha:1.0).cgColor
|
|
// mainView.layer.borderWidth = 1
|
|
// mainView.layer.cornerRadius = 10
|
|
|
|
layer.borderColor = UIColor(red:0.91, green:0.93, blue:0.95, alpha:1.0).cgColor
|
|
layer.borderWidth = 1
|
|
layer.cornerRadius = 10
|
|
}
|
|
|
|
|
|
}
|
|
|