TextFieldTextMonitor
public class TextFieldTextMonitor : BaseNotificationMonitor
A TextFieldTextMonitor
instance monitors a text field for changes to its
text.
-
Encapsulates changes to the text of the text field.
See moreDeclaration
Swift
public enum Event
-
Specifies which events to monitor.
See moreDeclaration
Swift
public struct Options : OptionSet
-
Initializes a new
TextFieldTextMonitor
.Declaration
Parameters
textField
The text field to monitor.
options
The options that specify which events to monitor. By default, all events are monitored.
queue
The operation queue on which the handler executes. By default, the main operation queue is used.
handler
The handler to call when the text of the text field changes.
-
The text field being monitored.
Declaration
Swift
public let textField: UITextField
-
Declaration
Swift
public override func addNotificationObservers()