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
textviewThe text view to monitor.
optionsThe options that specify which events to monitor. By default, all events are monitored.
queueThe operation queue on which the handler executes. By default, the main operation queue is used.
handlerThe 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()
View on GitHub
Install in Dash
TextViewTextMonitor Class Reference