CalendarDayMonitor
public class CalendarDayMonitor : BaseNotificationMonitor
A CalendarDayMonitor
instance monitors the system for changes to the
calendar day.
-
Encapsulates changes to the calendar day.
See moreDeclaration
Swift
public enum Event
-
Initializes a new
CalendarDayMonitor
.Declaration
Swift
public init(queue: OperationQueue = .main, handler: @escaping (Event) -> Void)
Parameters
queue
The operation queue on which the handler executes. By default, the main operation queue is used.
handler
The handler to call when the calendar day changes.
-
Declaration
Swift
public override func addNotificationObservers()