• 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: Getting information from AddressBook
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting information from AddressBook


  • Subject: Re: Getting information from AddressBook
  • From: Dan Wood <email@hidden>
  • Date: Mon, 11 Nov 2002 10:05:59 -0800

AddressBook.framework should have everything you need. Once you get your ABPerson object, you get the list of phone numbers from the kABPhoneProperty property; this a ABMultiValue, then you can pull out the phone numbers by label: kABPhoneHomeLabel, kABPhoneMainLabel, etc.

Check out the archives of this list and also the sample code at developer.apple.code for some code snippets dealing with the address book framework.

Regards,
Dan Wood

On Monday, November 11, 2002, at 06:20 AM, Nico wrote:

Hi list =)

I looked at AddressBook.framework, but I didn't manage to do what I want:
My problem is that I want to retrieve an array containing a person's phone numbers (home, work, mobile...) from its name.

Any ideas ?
Thanks in advance,
Nico.

--
Bref, me dire que j'ai peut-jtre contribui, ne serait-ce que d'un
epsilon, ` la propagation de serveurs "compatibles avec FrontPage" me
flanque des remonties gastriques peu reluisantes.
-+- FM in Guide du Macounet Pervers : Bien priparer sa digestion -+-
_______________________________________________
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.



--
Dan Wood
Karelia Software, LLC
email@hidden
http://www.karelia.com/
Watson for Mac OS X: http://www.karelia.com/watson/

The information contained in this message or any of its attachments may be privileged and confidential and intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited.
_______________________________________________
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: 
 >Getting information from AddressBook (From: Nico <email@hidden>)

  • Prev by Date: Re: Testing for Memory Leaks
  • Next by Date: Re: OT: Web Objects -- Anybody using it?
  • Previous by thread: Getting information from AddressBook
  • Next by thread: Re: Getting information from AddressBook
  • Index(es):
    • Date
    • Thread