Instance Method

postNotificationName:object:

Creates a notification, and posts it to the receiver.

Declaration

- (void)postNotificationName:(NSNotificationName)aName object:(NSString *)anObject;

Parameters

notificationName

Name of the notification to post. Must not be nil.

notificationSender

Sender of the notification. May be nil.

Discussion

This method invokes postNotificationName:object:userInfo:deliverImmediately: with userInfo:nil deliverImmediately:NO.

See Also

Posting Notifications

- postNotificationName:object:userInfo:

Creates a notification with information, and posts it to the receiver.

- postNotificationName:object:userInfo:deliverImmediately:

Creates a notification with information and an immediate-delivery specifier, and posts it to the receiver.

- postNotificationName:object:userInfo:options:

Creates a notification with information, and posts it to the receiver.