23 OF_ASSUME_NONNULL_BEGIN
33 typedef void (^OFNotificationCenterBlock)(
OFNotification *notification);
41 #ifndef OF_NOTIFICATION_CENTER_M 42 OF_SUBCLASSING_RESTRICTED
49 #ifdef OF_HAVE_CLASS_PROPERTIES 70 - (void)addObserver: (
id)observer
71 selector: (
SEL)selector
73 object: (nullable
id)object;
84 - (void)removeObserver: (
id)observer
85 selector: (
SEL)selector
87 object: (nullable
id)object;
103 object: (nullable
id)object
104 usingBlock: (OFNotificationCenterBlock)block;
112 - (void)removeObserver: (
id)observer;
129 object: (nullable
id)object;
140 object: (nullable
id)object
144 OF_ASSUME_NONNULL_END
A class to represent a notification for or from OFNotificationCenter.
Definition: OFNotification.h:40
A class for storing constant strings using the @"" literal.
Definition: OFConstantString.h:41
The root class for all other classes inside ObjFW.
Definition: OFObject.h:690
An abstract class for storing objects in a dictionary.
Definition: OFDictionary.h:82
A class to send and register for notifications.
Definition: OFNotificationCenter.h:44
An abstract class for storing and changing objects in a dictionary.
Definition: OFMutableDictionary.h:46