CurrentLocaleMonitor
public class CurrentLocaleMonitor : BaseNotificationMonitor
A CurrentLocaleMonitor instance monitors the system for changes to the
user’s locale.
-
Encapsulates changes to the user’s locale.
See moreDeclaration
Swift
public enum Event -
Initializes a new
CurrentLocaleMonitor.Declaration
Swift
public init(queue: OperationQueue, handler: @escaping (Event) -> Void)Parameters
queueThe operation queue on which the handler executes. By default, the main operation queue is used.
handlerThe handler to call when the user’s locale changes.
-
Declaration
Swift
public override func addNotificationObservers()
View on GitHub
Install in Dash
CurrentLocaleMonitor Class Reference