• 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: ABPeoplePickerView - Getting the selected property
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ABPeoplePickerView - Getting the selected property


  • Subject: Re: ABPeoplePickerView - Getting the selected property
  • From: SA Dev <email@hidden>
  • Date: Thu, 28 Jul 2005 10:14:12 -0400


The same thing applies - read the documentation for the Address Book framework. The tutorial referenced in my previous e-mail covers this as well.




On Jul 28, 2005, at 9:31 AM, Ofri Wolfus wrote:

I probably didn't explain myself properly. What i meant was how can i get the selected "Person Property" like ICQ, MSN, Address whatever that you add using the -addProperty: method.
-selectedValues will give me the values of the properties, but not their type.


Thanks again,
- Ofri

On 28/07/2005, at 16:19, SA Dev 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
References: 
 >ABPeoplePickerView - Getting the selected property (From: Ofri Wolfus <email@hidden>)
 >Re: ABPeoplePickerView - Getting the selected property (From: SA Dev <email@hidden>)
 >Re: ABPeoplePickerView - Getting the selected property (From: Ofri Wolfus <email@hidden>)

  • Prev by Date: Re: Setting vertical alignment for a NSTextFieldCell ?
  • Next by Date: Re: ABPeoplePickerView - Getting the selected property [SOLVED]
  • Previous by thread: Re: ABPeoplePickerView - Getting the selected property
  • Next by thread: Re: ABPeoplePickerView - Getting the selected property [SOLVED]
  • Index(es):
    • Date
    • Thread