NSNotification
E820435
NSNotification is an Objective-C class that encapsulates information about an event, including its name and optional associated data, for use in the Cocoa notification system.
Statements (44)
| Predicate | Object |
|---|---|
| instanceOf |
Cocoa class
ⓘ
Objective-C class ⓘ |
| definedIn | Foundation framework NERFINISHED ⓘ |
| deliveredBy |
NSDistributedNotificationCenter
NERFINISHED
ⓘ
NSNotificationCenter NERFINISHED ⓘ |
| documentationURL | https://developer.apple.com/documentation/foundation/nsnotification ⓘ |
| encapsulates |
information about an event
ⓘ
notification name ⓘ notification sender ⓘ optional associated data ⓘ |
| framework | Foundation NERFINISHED ⓘ |
| hasMethod |
+ notificationWithName:object:
ⓘ
+ notificationWithName:object:userInfo: ⓘ - initWithName:object:userInfo: ⓘ - name ⓘ - object ⓘ - userInfo ⓘ |
| hasProperty |
description
ⓘ
name ⓘ object ⓘ userInfo ⓘ |
| hasSuperclass | NSObject NERFINISHED ⓘ |
| headerFile | Foundation/NSNotification.h ⓘ |
| immutable | true ⓘ |
| introducedIn | Cocoa NERFINISHED ⓘ |
| memoryManagement | referenceCountedObject ⓘ |
| namespace | global Objective-C class namespace ⓘ |
| pattern | observer pattern ⓘ |
| platform |
iOS
ⓘ
macOS ⓘ tvOS NERFINISHED ⓘ watchOS NERFINISHED ⓘ |
| programmingLanguage | Objective-C NERFINISHED ⓘ |
| relatedConcept |
KVO (Key-Value Observing)
NERFINISHED
ⓘ
delegation pattern ⓘ |
| role |
carries event payload
ⓘ
identifies event by name ⓘ |
| threadingModel | canBePostedFromAnyThread ⓘ |
| usedFor |
broadcast-style communication within a process
ⓘ
decoupling event senders and observers ⓘ |
| usedIn | Cocoa notification system NERFINISHED ⓘ |
| usedWith |
NSDistributedNotificationCenter
NERFINISHED
ⓘ
NSNotificationCenter NERFINISHED ⓘ NSNotificationQueue NERFINISHED ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.