|
|
@ -19,6 +19,8 @@ class AutoDebitViewController: UIViewController { |
|
|
|
static let confirmationText = "Are you sure?" |
|
|
|
static let deleteText = "Delete" |
|
|
|
static let editText = "Edit" |
|
|
|
static let addAccountText = "Add Auto Debit Account" |
|
|
|
static let swipeInfoText = "Swipe left to “Edit” or “Delete” account." |
|
|
|
} |
|
|
|
|
|
|
|
// MARK:- IBOutlets |
|
|
@ -26,6 +28,7 @@ class AutoDebitViewController: UIViewController { |
|
|
|
@IBOutlet weak var viewAddAccount: UIView! // this is the view that contains add reciepient. should be header |
|
|
|
@IBOutlet weak var labelSwipeInfo: UILabel! |
|
|
|
|
|
|
|
@IBOutlet weak var addAccountLabel: UILabel! |
|
|
|
var presenter: AutoDebitPresenter? |
|
|
|
// MARK:- properties |
|
|
|
var kftcDetail: KFTCModel? { |
|
|
@ -134,6 +137,12 @@ class AutoDebitViewController: UIViewController { |
|
|
|
private func setupDelegates() { |
|
|
|
self.tableView.delegate = self |
|
|
|
self.tableView.dataSource = self |
|
|
|
configureText() |
|
|
|
} |
|
|
|
|
|
|
|
private func configureText() { |
|
|
|
self.addAccountLabel.text = StringConstants.addAccountText |
|
|
|
self.labelSwipeInfo.text = StringConstants.swipeInfoText |
|
|
|
} |
|
|
|
|
|
|
|
private func showLanguageSelection() { |
|
|
|