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.

41 lines
1.1 KiB

6 years ago
  1. //
  2. // TranscationTableViewCell.swift
  3. // GMERemittance
  4. //
  5. // Created by FMI-12 on 2/6/18.
  6. // Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import UIKit
  9. protocol TableViewCellTransactionDelegate : class {
  10. func loadMoreButtonAction(sender: TranscationTableViewCell)
  11. }
  12. class TranscationTableViewCell: UITableViewCell {
  13. var loadMoreDelegate: TableViewCellTransactionDelegate?
  14. @IBOutlet weak var labelDate: UILabel!
  15. @IBOutlet weak var labelName: UILabel!
  16. @IBOutlet weak var labelPayment: UILabel!
  17. @IBOutlet weak var labelTranscationNo: UILabel!
  18. @IBOutlet weak var labelAmountPay: UILabel!
  19. @IBOutlet weak var loadMoreButtonOutlet: UIButton!
  20. @IBAction func loadMoreButtonAction(_ sender: Any) {
  21. loadMoreDelegate?.loadMoreButtonAction(sender: self)
  22. }
  23. override func awakeFromNib() {
  24. super.awakeFromNib()
  25. // Initialization code
  26. }
  27. override func setSelected(_ selected: Bool, animated: Bool) {
  28. super.setSelected(selected, animated: animated)
  29. // Configure the view for the selected state
  30. }
  31. }