• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Addressbook api
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Addressbook api (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Addressbook api
  • Next by Date: Re: NSWorkspace - getting info about other applications
  • Previous by thread: Re: Addressbook api
  • Next by thread: Re: Addressbook api
  • Index(es):
    • Date
    • Thread