Re: Removing Entry from Addressbook externally
Re: Removing Entry from Addressbook externally
- Subject: Re: Removing Entry from Addressbook externally
- From: Tito Ciuro <email@hidden>
- Date: Mon, 10 Feb 2003 12:15:51 +0100
On Monday, February 10, 2003, at 11:12 AM, Hasan Diwan wrote:
Is there a way to remove an entry from the on-disk addressbook? The
addressbook API contains methods for retrieving and storing to
properties into the addressbook, but I can't seem to find a delete
entry function.
In ABAddressBook.h, look for:
- (BOOL)removeRecord:(ABRecord *)record;
// Removes a record (ABPerson or ABGroup) from the AddressBook
Database
// Raises if record is nil
// Returns YES if the removal was successful
The mailing list archives contain a question on this topic, but the
answer points to the
/System/Library/PrivateFrameworks/AddressServices.framework, which I
don't seem to have on my box (10.2.3 + latest dev tools).
Nope. It's not there. It's here instead:
/System/Library/Frameworks/AddressBook.framework
I hope this helps,
-- Tito
_______________________________________________
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.