Classes
The following classes are available globally.
-
EventCenter class to add & remove observers for specific events.
Usage Example:
See moreimport EventCenter
Declaration
Swift
public class EventCenter
-
This class provides standardized observer priority.
It is easy to extended this class to add your own priorities
Example Usage
extension ObserverPriority { public static let myPriority: UInt8 = 42 }
Note
ObserverPriority must be of typeUInt8
Declaration
Swift
public class ObserverPriority