• 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: 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


  • Follow-Ups:
    • Re: NSNotification
      • From: Chris Hanson <email@hidden>
    • Re: NSNotification
      • From: "Finlay Dobbie" <email@hidden>
References: 
 >NSNotification (From: "Devraj Mukherjee" <email@hidden>)

  • Prev by Date: Re: Best way to play a MP3?
  • Next by Date: Re: NSNotification
  • Previous by thread: NSNotification
  • Next by thread: Re: NSNotification
  • Index(es):
    • Date
    • Thread