• 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: Distributed postNotificationName
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed postNotificationName


  • Subject: Re: Distributed postNotificationName
  • From: Trygve Inda <email@hidden>
  • Date: Fri, 17 Nov 2006 09:28:48 +0000
  • Thread-topic: Distributed postNotificationName

> Well one thing I can see is that in that method, you want to store
> the value first, then the key.
>
> I'm assuming @"someID" is a key, not your value, so this list should
> really be:
>
> NSDictionary*  userInfo = [NSDictionary dictionaryWithObjectsAndKeys:
> [NSNumber numberWithInt:7], @"someID",  name, @"someName", nil];
>
> The name of the method is a good memory aid :)
>
> Rob Ross, Lead Software Engineer
> E! Networks

Well duh. Guess staying up til 0715 turned my brain to mush.

Thanks,

Trygve


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Distributed postNotificationName (From: Rob Ross <email@hidden>)

  • Prev by Date: Re: Distributed postNotificationName
  • Next by Date: Re: Non-square (triangular) views
  • Previous by thread: Re: Distributed postNotificationName
  • Next by thread: [SOLVED] QTKit : Creating and saving a movie Reference to an URL
  • Index(es):
    • Date
    • Thread