MGLObserver
@interface MGLObserver : NSObject
Base class for observers used to receive notifications from a type conforming to
the MGLObservable
protocol.
Subclasses should only override -[MGLObserver notifyWithEvent:]
.
-
A unique identifier that can be used to identify an observer.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger identifier;
Swift
var identifier: UInt { get }