PUBaseTextField
@IBDesignable
open class PUBaseTextField : UITextField, PUXIBPlaceholderLocalizable
PowerUpSwift: The subclass of UITextField
that allows the editing of additional UIKit properties via the Interface Builder.
This is not usually used as a direct custom class of a control via the Inteface Builder.
Use the classes PUTextField
and PUUnderlineTextField
instead.
-
Declaration
Swift
@IBInspectable open var xibPlaceholderLocKey: String? { get set }
-
PowerUpSwift: The left padding.
Declaration
Swift
@IBInspectable open var leftInset: CGFloat { get set }
-
PowerUpSwift: The right padding.
Declaration
Swift
@IBInspectable open var rightInset: CGFloat { get set }
-
PowerUpSwift: Allows the setting of the max length via the Interface Builder. This is handy since Swift does not provide a built-in max length property on text fields.
Declaration
Swift
@IBInspectable open var maxLength: Int { get set }