No Description

BottomDefaultItem.swift 613B

1234567891011121314151617181920212223242526272829
  1. //
  2. // BottomDefaultItem.swift
  3. // PaiaiUIKit
  4. //
  5. // Created by FFIB on 2019/1/21.
  6. // Copyright © 2019 FFIB. All rights reserved.
  7. //
  8. import UIKit
  9. final class BottomDefaultItem: AlertItem {
  10. static var `default`: BottomDefaultItem {
  11. return BottomDefaultItem()
  12. }
  13. init() {
  14. super.init(frame: CGRect.zero)
  15. initProperty()
  16. }
  17. func initProperty() {
  18. titleLabel?.numberOfLines = 0
  19. titleLabel?.font = UIFont.systemFont(ofSize: 17)
  20. backgroundColor = UIColor.white
  21. setTitleColor(UIColor(r: 248, g: 86, b: 131), for: .normal)
  22. }
  23. }