public class PasteboardMonitor : BaseNotificationMonitor
PasteboardMonitor instance monitors a pasteboard for changes to its
contents or for its removal from the app.
Initializes a new
public init(pasteboard: UIPasteboard, options: Options = .all, queue: OperationQueue = .main, handler: @escaping(Event) -> Void)
The pasteboard to monitor.
The options that specify which events to monitor. By default all events are monitored
The operation queue on which the handler executes. By default, the main operation queue is used.
The handler to call when the pasteboard is removed from the app, or its contents change.
The pasteboard being monitored.
public let pasteboard: UIPasteboard
override public func addNotificationObservers()