On Thu, Oct 23, 2008 at 12:34 PM, Sebastian Pape
<[EMAIL PROTECTED]> wrote:
> But my NSMutableDictionary won't accept my NSString, because it
> requires setValue:(id)value and I just have my NSString.

'id' is just a generic type - anything that accepts id will accept
NSString, NSObject, NSData, etc.

> XCode gives me a warning about that and GDB sends me a "***
> -[NSCFDictionary setValue:ForKey:]: unrecognized selector sent to
> instance 0x1dd090".

Try a lowercase 'f'  in ForKey.
_______________________________________________

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]

Reply via email to