StyleManagerDelegate
@objc(MBStyleManagerDelegate)
public protocol StyleManagerDelegate : NSObjectProtocol
The StyleManagerDelegate
protocol defines a set of methods used for controlling the style.
-
Asks the delegate for a location to use when calculating sunset and sunrise.
Declaration
Swift
@objc func locationFor(styleManager: StyleManager) -> CLLocation
-
Informs the delegate that a style was applied.
Declaration
Swift
@objc optional func styleManager(_ styleManager: StyleManager, didApply style: Style)
-
Informs the delegate that the manager forcefully refreshed UIAppearance.
Declaration
Swift
@objc optional func styleManagerDidRefreshAppearance(_ styleManager: StyleManager)