TextViewTextMonitor
public class TextViewTextMonitor : BaseNotificationMonitor
A TextViewTextMonitor
instance monitors a text view for changes to
its text.
-
Encapsulates changes to the text of the text view.
See moreDeclaration
Swift
public enum Event
-
Specifies which events to monitor.
See moreDeclaration
Swift
public struct Options : OptionSet
-
Initializes a new
TextViewTextMonitor
.Declaration
Parameters
textview
The text view 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 view changes.
-
The text view being monitored.
Declaration
Swift
public let textView: UITextView
-
Declaration
Swift
public override func addNotificationObservers()