On Mon, Jul 28, 2008 at 3:52 PM, Carter R. Harrison <[EMAIL PROTECTED]> wrote: > > Actually now that I'm looking at this more closely, NSDictionary is > expecting an NSString for the key when inserting a value. Your example uses > an NSValue for the key - the compiler is throwing a warning for this one..
Use objectForKey and setObject:forKey: rather than the valueForKey: and setValue:forKey: (which are really intended just for letting NSDictionary do arbitrary key-value coding) -- - David T. Wilson [EMAIL PROTECTED] _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]