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 protected])

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