Re: AddressBook & phone multivalue
Re: AddressBook & phone multivalue
- Subject: Re: AddressBook & phone multivalue
- From: Henri Lamiraux <email@hidden>
- Date: Sat, 9 Nov 2002 07:36:49 -0800
Value returned by -valueForProperty are always non-mutable so at least
it should be
ABMultiValue *value = [person valueForProperty:kABPhoneProperty];
-valueForProperty would return nil if:
- person is nil
- this person doesn't any phone numbers.
On Friday, November 8, 2002, at 01: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.
Henri Lamiraux
Engineering Manager
User Interface Tools Group
Apple
_______________________________________________
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.