19 OF_ASSUME_NONNULL_BEGIN
22 #ifdef OF_HAVE_THREADS 32 typedef void (^OFNotificationCenterBlock)(
OFNotification *notification);
41 #ifndef OF_NOTIFICATION_CENTER_M 42 OF_SUBCLASSING_RESTRICTED
46 #ifdef OF_HAVE_THREADS 52 #ifdef OF_HAVE_CLASS_PROPERTIES 73 - (void)addObserver: (
id)observer
74 selector: (
SEL)selector
76 object: (nullable
id)object;
87 - (void)removeObserver: (
id)observer
88 selector: (
SEL)selector
90 object: (nullable
id)object;
106 object: (nullable
id)object
107 usingBlock: (OFNotificationCenterBlock)block;
115 - (void)removeObserver: (
id)observer;
132 object: (nullable
id)object;
143 object: (nullable
id)object
147 OF_ASSUME_NONNULL_END
A class for creating mutual exclusions.
Definition: OFMutex.h:32
A class to represent a notification for or from OFNotificationCenter.
Definition: OFNotification.h:36
A class for storing constant strings using the @"" literal.
Definition: OFConstantString.h:37
The root class for all other classes inside ObjFW.
Definition: OFObject.h:686
An abstract class for storing objects in a dictionary.
Definition: OFDictionary.h:78
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:42