Re: ABPeoplePickerView - Getting the selected property
Re: ABPeoplePickerView - Getting the selected property
- Subject: Re: ABPeoplePickerView - Getting the selected property
- From: Adam Holt <email@hidden>
- Date: Thu, 28 Jul 2005 14:27:40 +0100
Be aware though Ofri, as you will see in the Archives of this list that
there is a bug that prevents you from reading the selected "value" (e.g. If
there are multiple email addresses listed under one ABPerson, you can't
determine which email address has been selected in the ABPeoplePickerView).
You can see however which person or group has been selected.
(Bug present in 10.3.9 - don't know about Tiger).
Cheers... Adam.
On 28/7/05 2:19 pm, "SA Dev" <email@hidden> wrote:
> On Jul 28, 2005, at 7:37 AM, Ofri Wolfus wrote:
>
>> Hi all,
>> I need to know what property is selected in my ABPeoplePickerView,
>> but i can't find a way to get this info. Am i missing something
>> very very obvious here?
>
> Yes. The documentation. :-)
>
> Read the docs on the ABPeoplePickerView. It returns an array of
> ABRecords (containing only one record if you tell it not to allow
> multiple selections). A record can be an ABGroup or an ABPerson. You
> can store this selection in your app by using the record's -uniqueId
> (which is a string).
>
> An excellent tutorial is here: http://www.macdevcenter.com/pub/a/
> mac/2002/08/27/cocoa.html?page=1)
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden