Re: [ABAddressBook addressBook] vs. [ABAddressBook sharedAddressBook]
Re: [ABAddressBook addressBook] vs. [ABAddressBook sharedAddressBook]
- Subject: Re: [ABAddressBook addressBook] vs. [ABAddressBook sharedAddressBook]
- From: Ricky Sharp <email@hidden>
- Date: Tue, 23 Sep 2008 18:53:19 -0500
On Sep 23, 2008, at 5:44 PM, David Riggle wrote:
What is the use of the new Leopard call [ABAddressBook addressBook]?
I played around with it, and it seems to be functionally equivalent
to [ABAddressBook sharedAddressBook].
From the docs, the former gives you a new instance of an address
book. The latter gives you the shared address book that is used by
all applications.
I supposed if you needed to have a private address book used only by
your application, you would use the former API.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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