InputField
public protocol InputField : UIView
Abstraction under UITextField/InnerTextField and UITextView
The need is due to the desire to close two different classes with one protocol for use in places where both classes will be used in the same way.
Important
Protocol have two default extension with implementation for InnerTextField and UITextView.-
Text in textField/textView
Declaration
Swift
var inputText: String? { get }
-
Undocumented
Declaration
Swift
var textColor: UIColor? { get set }
-
Undocumented
Declaration
Swift
var backgroundColor: UIColor? { get set }