Re: Addressbook api
Re: Addressbook api
- Subject: Re: Addressbook api
- From: Bill Cheeseman <email@hidden>
- Date: Fri, 06 Sep 2002 12:56:09 -0400
on 02-09-06 12:05 PM, Bill Cheeseman at email@hidden wrote:
>
From the class reference document: "dictionaryWithObjectsAndKeys: takes a
>
variable number of arguments: a null-terminated list of alternating objects
>
and keys. If any key is nil, an NSInvalidArgumentException is raised."
>
>
I note that the "null" in "null-terminated list" in the quote is lower-case,
>
so perhaps not meant to refer to NULL.
I also note that NSArray's class method arrayWithObjects:, which is similar,
is documented explicitly to require nil, not NULL:
"Creates and returns an array containing the objects in the argument list.
The argument list is a comma-separated list of objects ending with nil."
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
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.