LabelCell.swift 722 B

123456789101112131415161718192021222324252627
  1. //
  2. // LabelCell.swift
  3. // Bark
  4. //
  5. // Created by huangfeng on 2020/5/29.
  6. // Copyright © 2020 Fin. All rights reserved.
  7. //
  8. import Material
  9. import UIKit
  10. class LabelCell: UITableViewCell {
  11. override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
  12. super.init(style: style, reuseIdentifier: reuseIdentifier)
  13. self.selectionStyle = .none
  14. self.backgroundColor = BKColor.background.primary
  15. self.textLabel?.textColor = BKColor.grey.darken1
  16. self.textLabel?.fontSize = 12
  17. self.textLabel?.numberOfLines = 0
  18. }
  19. @available(*, unavailable)
  20. required init?(coder aDecoder: NSCoder) {
  21. fatalError("init(coder:) has not been implemented")
  22. }
  23. }