MenuControllerMonitor
public class MenuControllerMonitor : BaseNotificationMonitor
A MenuControllerMonitor instance monitors the menu controller for changes
to the visibility of the editing menu or to the frame of the editing menu.
-
Encapsulates changes to the visibility of the editing menu and to the frame of the editing menu.
See moreDeclaration
Swift
public enum Event -
Specifies which events to monitor.
See moreDeclaration
Swift
public struct Options : OptionSet -
Initializes a new
MenuControllerMonitor.Declaration
Parameters
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 visibility of the editing menu or the frame of the editing menu changes or is about to change.
-
Declaration
Swift
override public func addNotificationObservers()
View on GitHub
Install in Dash
MenuControllerMonitor Class Reference