• 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: Removing Entry from Addressbook externally
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Removing Entry from Addressbook externally (From: Hasan Diwan <email@hidden>)

  • Prev by Date: Removing Entry from Addressbook externally
  • Next by Date: Re: help! always getting this strange error
  • Previous by thread: Removing Entry from Addressbook externally
  • Next by thread: Creating menu's at runtime
  • Index(es):
    • Date
    • Thread