• 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 & phone multivalue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AddressBook & phone multivalue


  • Subject: Re: AddressBook & phone multivalue
  • From: Barry Books <email@hidden>
  • Date: Sat, 9 Nov 2002 08:13:32 -0600

I've been working on a command line interface to the address book. The source is available here:

http://homepage.mac.com/bfb/vcard/

It's only a few hundred lines and can retrieve most of the values in a vcard

barry


On Friday, November 8, 2002, at 03:46 PM, T G wrote:

Hi all,

I'm having trouble with phone numbers & the AddressBook. Specifically, when I try to retreive the phone numbers for a given person, I get no data, regardless of the fact that the contact in question definitely has at least one phone number.

Here's how I'm doing it... (where person is of type ABPerson *)

ABMutableMultiValue *phone;
//...
phone = [person valueForProperty:kABPhoneProperty];
//...

phone is always nil. :(

Has anyone else encountered this? Or is it just something really basic that I've managed to overlook?

Thanks,

Terence


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
_______________________________________________
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.
_______________________________________________
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: 
 >AddressBook & phone multivalue (From: "T G" <email@hidden>)

  • Prev by Date: Re: Move a file to the Trash
  • Next by Date: [Repost] Subclassing NSTableColumn
  • Previous by thread: Re: AddressBook & phone multivalue
  • Next by thread: Re: AddressBook & phone multivalue
  • Index(es):
    • Date
    • Thread