fileprivate final let tf = WLBaseTextField(frame: CGRect(x: 0, y: 100, width: 400, height: 44))
view.addSubview(tf)
tf.makeAttribute { (make) in
make.set_maxLength(11)
make.set_editType(.phone)
make.set_textChanged({ (tf) in
printLog(message: tf.text)
})
make.set_textColor(WLHEXCOLOR(hexColor: "#555555"))
make.set_backgroundColor(WLHEXCOLOR(hexColor: "#eeeeee"))
}
-
Notifications
You must be signed in to change notification settings - Fork 0
License
StoneStoneStoneWang/WLTextField
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published