Re: Distributed postNotificationName
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