Re: NSNull and @""
Re: NSNull and @""
- Subject: Re: NSNull and @""
- From: Seth Willits <email@hidden>
- Date: Sat, 11 Oct 2008 10:57:37 -0700
On Oct 11, 2008, at 4:51 AM, Stelian Iancu wrote:
Hmm, that's weird. In some official iPhone examples from Apple, they
do exactly that: they put nil as the last element in an array. So
what's up with that?
If it's what I think you're talking about then: No, nil is used as a
marker for the variable argument list to say "this is the end of the
list." It's not actually inserted into the dictionary at all. Why it's
required is really beyond me, but it's simply an Obj-C syntax thing.
--
Seth Willits
_______________________________________________
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