1234567891011121314151617181920212223242526272829 |
- import UIKit
- final class CenterConfirmItem: AlertItem {
- static var `default`: CenterConfirmItem {
- return CenterConfirmItem()
- }
- init() {
- super.init(frame: CGRect.zero)
- initProperty()
- }
- func initProperty() {
- titleLabel?.numberOfLines = 0
- titleLabel?.font = UIFont.systemFont(ofSize: 17)
- backgroundColor = UIColor(r: 129, g: 209, b: 53)
- setTitleColor(UIColor.white, for: .normal)
- }
- }
|