• 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: Workaround for ABPeoplePickerValueSelectionDidChangeNotification bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Workaround for ABPeoplePickerValueSelectionDidChangeNotification bug?


  • Subject: Re: Workaround for ABPeoplePickerValueSelectionDidChangeNotification bug?
  • From: Adam Holt <email@hidden>
  • Date: Tue, 26 Apr 2005 18:09:44 +0100

Thanks John for the reply.

In your app, have you switched "value selection" to either single or
multiple (i.e. not switched to "none")?

This is important for my app as effectively I am not choosing a person, but
an actual value (e.g. I want to know which email address was selected, not
just that a person has been selected with a possibility of 3 email
addresses).

Experimenting with selectedRecords reveals access to data like this:

    Creation = 2004-12-11 17:05:20 Europe/London;
    Email = {
    identifiers = (
        "D6C642C0-4B96-11D9-9C5E-000D936ABBA2",
        "D6C645C2-4B96-11D9-9C5E-000D936ABBA2"
    );
    labels = ("_$!<Home>!$_", "_$!<Other>!$_");
    primaryIdentifier = "D6C642C0-4B96-11D9-9C5E-000D936ABBA2";
    values = ("email@hidden", "email@hidden");

However choosing a different value (i.e. Email address) in the
ABPeoplePickerView seems to have no effect on the data returned by
selectedRecords.

If you've solved this then I would definitely be interested in a code
sample!

Cheers... Adam.

On 26/4/05 5:11 pm, "John Fox" <email@hidden> wrote:

> Hi Adam:
>
> I'm using an ABPeoplePickerView in an NSPanel in my app, much like is done in
> iChat. The user selects a peson, and I have an "Select" button that use the
> view's selectedRecords. It works fine for me. I did run into problems (to
> solution to which I posted last week) in getting the search field to always be
> highlighted when the panel containing the view is opened.
>
> If you need a code snippet, let me know.
>
> Hope this helps,
>
> John



 _______________________________________________
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: 
 >Re: Workaround for ABPeoplePickerValueSelectionDidChangeNotification bug? (From: John Fox <email@hidden>)

  • Prev by Date: Re: Workaround for ABPeoplePickerValueSelectionDidChangeNotification bug?
  • Next by Date: Re: Binding button.enabled to "NSTextField is not empty"
  • Previous by thread: Re: Workaround for ABPeoplePickerValueSelectionDidChangeNotification bug?
  • Next by thread: Address Book-like Window Menu
  • Index(es):
    • Date
    • Thread