Blame view

App/addPerson/CellPerson.swift 482 Bytes
fbd62afcf   Trịnh Văn Quân   version 1.2.2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  import Foundation
  import UIKit
  import GeneralUtils
  
  class CellPerson: BaseTableViewCellUI {
      @IBOutlet weak var tvTitle: UILabel!
  
      var person: Person!
  
      override func awakeFromNib() {
          super.awakeFromNib()
          self.selectionStyle = .none
      }
  
      override func configCellWithData(baseObj: Any, index: Int) {
          super.configCellWithData(baseObj: baseObj, index: index)
          person = baseObj as! Person
  
          tvTitle.text = person.getName();
      }
  }