OGWNotifierDelegate Protocol Reference
Conforms to | NSObject |
Declared in | OGWNotifier.h |
Overview
Delegate protocol for senders using the notifier and want to perform extra work when a receiver (delegate) subscribes or unsubscribes to the notifier.
Instance Methods
didAddNotificationReceiver:
Sent when the notifier added another receiver.
- (void)didAddNotificationReceiver:(id)receiver
Parameters
- receiver
The new receiver.
Declared In
OGWNotifier.h
willRemoveNotificationReceiver:
Sent when the notifier will remove a receiver.
- (void)willRemoveNotificationReceiver:(id)receiver
Parameters
- receiver
The receiver that will be removed.
Discussion
Warning: Not sent when the receiver deallocated and its weak reference became nil. Only sent when sending removeReceiver: to the OGWNotifier object.
Declared In
OGWNotifier.h