UITextField
class UITextField : UIControl, UITextInput, NSCoding, UIContentSizeCategoryAdjusting
-
Allows to set the placeholder color by setting the
attributedPlaceholder
.Warning
The getter must not be used or the code will crash at runtime.Declaration
Swift
@IBInspectable public var placeholderColor: UIColor? { get set }