Closed 3lvis closed 8 years ago
I think this works! Except I can't seem to find a way to completely the disable the clearButton in your adjustments.
Other thing: if I want to use this for the style required by my app, I have to do this in setup:
textField.activeTextColor = UIColor.whiteColor()
textField.disabledTextColor = UIColor.whiteColor()
textField.validTextColor = UIColor.whiteColor()
textField.inactiveTextColor = UIColor.whiteColor()
textField.disabledTextColor = UIColor.whiteColor()
textField.invalidTextColor = UIColor.whiteColor()
Might make that a bit easier 😬
Simplifies the set up of a custom accessory view. It allows to use any view, it could be a button or an image view. Also it fallbacks to the old clear button when no accessory has been specified.