notificationWithName:object:userInfo:
Returns a notification object with a specified name, object, and user information.
Declaration
+ (instancetype) notificationWithName:(NSNotificationName) aName object:(id) anObject userInfo:(NSDictionary *) aUserInfo;Parameters
- aName:
The name for the new notification. May not be
nil. - anObject:
The object for the new notification.
- aUserInfo:
The user information dictionary for the new notification. May be
nil.