• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSNotification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSNotification


  • Subject: Re: NSNotification
  • From: "Finlay Dobbie" <email@hidden>
  • Date: Wed, 6 Jun 2007 12:30:37 +0100

As an addendum to this, note that only plist types may be used in the
userInfo of a distributed notification.

On 06/06/07, Jerry Krinock <email@hidden> wrote:

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

_______________________________________________

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


References: 
 >NSNotification (From: "Devraj Mukherjee" <email@hidden>)
 >Re: NSNotification (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: NSNotification
  • Next by Date: Re: NSButtonCell in NSTableView.
  • Previous by thread: Re: NSNotification
  • Next by thread: Re: NSNotification
  • Index(es):
    • Date
    • Thread