Classes
The following classes are available globally.
-
An instance of
NotificationObserver
is responsible for observing notifications.Warning
When an observer is initialized, it will immediately begin listening for its specified notification by registering with the specified notification center. To stop listening, dealloc the observer by setting it tonil
.Declaration
Swift
public final class NotificationObserver <V, S: AnyObject>