UITextField
public extension UITextField
-
nextTextField is intended to be used in a form, so that the delegate uses it, for example, in the textFieldShouldReturn method.
Warning
Avoid setting nextTextField in the didSet hook of an outlet. Override awakeFromNib() of the containing view in that case.Declaration
Swift
var nextTextField: UITextField? { get set } -
fontTextStyle is intended to be used instead of setting the font style by taking advantage of
UIFont.preferredFont(forTextStyle:)to manage your app’s fonts.When the style is set, the corresponding font will be set. If the font is changed, then the textfield will have no specific font text style.
Warning
Setting this property may arise a runtime error if the font name returned byUIFont.appFontName(for:)is not valid.Seealso
UIFont.appFontName(for:).Declaration
Swift
var fontTextStyle: UIFont.TextStyle? { get set }
UITextField Extension Reference