Go to the source code of this file.
◆ DISTRIBUTE_NOTIFICATION
| #define DISTRIBUTE_NOTIFICATION |
( |
|
SELECTOR | ) |
|
Value: -(void)handle##SELECTOR : (NSNotification*)notification { \
for (NSObject<FlutterAppLifecycleDelegate> * delegate in
_delegates) { \
if ([delegate respondsToSelector:@selector(handle##SELECTOR:)]) { \
[delegate handle##SELECTOR:notification]; \
} \
} \
}
NSPointerArray * _delegates
Definition at line 78 of file FlutterAppLifecycleDelegate.mm.
◆ OBSERVE_NOTIFICATION
| #define OBSERVE_NOTIFICATION |
( |
|
SELECTOR | ) |
[self addObserverFor:NSApplication##SELECTOR##Notification selector:@selector(handle##SELECTOR:)] |