Re: Warning about comparison between pointer and integer
Re: Warning about comparison between pointer and integer
- Subject: Re: Warning about comparison between pointer and integer
- From: Scott Ribe <email@hidden>
- Date: Wed, 16 Dec 2009 09:33:32 -0700
- Thread-topic: Warning about comparison between pointer and integer
> integerForKey
Returns an integer, not a pointer. See the docs.
If you want to check if the key exists, then objectForKey will return nil of
the key is not found.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden