OpenDetailTableViewHeaderView.swift 556 B

12345678910111213141516171819202122232425
  1. //
  2. // OpenDetailTableViewHeaderView.swift
  3. // xingchuangke
  4. //
  5. // Created by Virgil on 2019/3/28.
  6. // Copyright © 2019 Virgil. All rights reserved.
  7. //
  8. import UIKit
  9. class OpenDetailTableViewHeaderView: UIView {
  10. @IBOutlet weak var lblRemark: UILabel!
  11. @IBOutlet weak var lblName: UILabel!
  12. func initView(section: Int) {
  13. if section == 0 {
  14. lblRemark.isHidden = false
  15. lblName.text = "基本信息"
  16. } else {
  17. lblRemark.isHidden = true
  18. lblName.text = "其他信息"
  19. }
  20. }
  21. }