StyleManagerDelegate
The StyleManagerDelegate
protocol defines a set of methods used for controlling the style.
-
location(for:)
Default implementationAsks the delegate for a location to use when calculating sunset and sunrise
Note
This delegate method includes a default implementation that prints a warning to the console when this method is called. SeeUnimplementedLogging
for details. .Default Implementation
-
styleManager(_:didApply:)
Default implementationInforms the delegate that a style was applied. This delegate method is the equivalent of
Notification.Name.styleManagerDidApplyStyle
.Note
This delegate method includes a default implementation that prints a warning to the console when this method is called. SeeUnimplementedLogging
for details.Default Implementation
-
styleManagerDidRefreshAppearance(_:)
Default implementationInforms the delegate that the manager forcefully refreshed UIAppearance.
Note
This delegate method includes a default implementation that prints a warning to the console when this method is called. SeeUnimplementedLogging
for details.Default Implementation