Re: NSNotification
Re: NSNotification
- Subject: Re: NSNotification
- From: Jerry Krinock <email@hidden>
- Date: Wed, 6 Jun 2007 04:18:47 -0700
On 2007 Jun, 06, at 3:56, Devraj Mukherjee wrote:
I just wanted to confirm if a NSDictionary is how you pass information
to a notification
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
Classes/NSNotification_Class/Reference/Reference.html#//apple_ref/
occ/clm/NSNotification/notificationWithName:object:userInfo:
If you're referring to the object:userInfo argument, the answer is
yes. An NSDictionary is typically used because it allows flexibility
for future changes. But in fact you may pass any object.
Click the link at the bottom of that document and suggest that it
would be nice if the docs would explain that for newbies.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden