Instance Method

init

Initializes an empty notification.

Declaration

- (instancetype)init;

See Also

Creating Notifications

- initWithCoder:

Initializes a notification with the data from an unarchiver.

+ notificationWithName:object:

Returns a new notification object with a specified name and object.

+ notificationWithName:object:userInfo:

Returns a notification object with a specified name, object, and user information.

- initWithName:object:userInfo:

Initializes a notification with a specified name, object, and user information.

NSNotificationName

The type used for the name of a notification.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software