Name
Notifications defined by ThemeKit
.
-
ThemeKit notification sent when current theme is about to change.
Declaration
Swift
public static let willChangeTheme = Notification.Name("ThemeKitWillChangeThemeNotification")
-
ThemeKit notification sent when current theme did change.
Declaration
Swift
public static let didChangeTheme = Notification.Name("ThemeKitDidChangeThemeNotification")
-
ThemeKit notification sent when system theme did change (System Preference > General > Appearance).
Declaration
Swift
public static let didChangeSystemTheme = Notification.Name("ThemeKitDidChangeSystemThemeNotification")
-
Convenience property for the system notification sent when System Preference for dark mode changes.
Declaration
Swift
static let didChangeAppleInterfaceTheme = Notification.Name("AppleInterfaceThemeChangedNotification")