Re: NSNumber numberWithBool ?
Re: NSNumber numberWithBool ?
- Subject: Re: NSNumber numberWithBool ?
- From: Daniel Todd Currie <email@hidden>
- Date: Sun, 25 Jan 2004 19:36:58 -0800
Your code snippet will end up testing if such a dictionary value
exists. you want:
if ([[tempDict valueForKey:@"status"] boolValue])
// Daniel Currie
On 2004 Jan 25, at 19:19, email@hidden wrote:
if i set a numberWithBool into a dictionary can i check it like this
if ([tempDict valueForKey:@"status"])
to see if its true or not?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.