UITextField
class UITextField : UIControl, UITextInput, NSCoding, UIContentSizeCategoryAdjusting
-
Localizing placeholder and sets the accessibilityIdentifier
Declaration
Swift
@objc open var localizedPlaceholder: String? { get set } -
Declaration
Swift
open override func awakeFromNib() -
Sets the localized placeholder with format.
Declaration
Swift
@discardableResult open func localizePlaceholder(formatKey: String, _ arguments: CVarArg...) -> String?Parameters
textThe text to localize
argumentsThe arguments to replace
Return Value
the localized placeholder
String?with format
View on GitHub
UITextField Extension Reference