Re: Accepting drags from Address Book with multiple people/groups
Re: Accepting drags from Address Book with multiple people/groups
- Subject: Re: Accepting drags from Address Book with multiple people/groups
- From: Alexandre Aybes <email@hidden>
- Date: Tue, 22 Aug 2006 09:14:26 -0700
Hi,
the Address Book framework does not currently provide a way to do
this, if you'd like us to provide a method like this, please file a
bug report (http://bugreport.apple.com). Note that users can also drag
individual vCards (even when selecting multiple people/groups) by
pressing the option key before starting the drag.
Cheers,
Alex.
On Aug 18, 2006, at 11:10 PM, Adam Leonard wrote:
Hi,
I am trying to accept drags from an ABPeoplePicker or the Address
Book application.
I register for the NSFilenamesPboardType, then load the data with -
initWithVCardRepresentation
If I drag one person at a time, this works fine. However if I try to
drag several people or a group, I get one VCard containing everyone
instead of an array of files representing a single person.
-initWithVCardRepresentation will only load the first person.
AddressBook.app handles the VCard file fine if I try to import it.
So, is there a way using the AddressBook framework or something else
to extract each person out of the VCard?
Thanks,
Adam Leonard
--
Alexandre Aybes
ABPerson --Internet Technologies
_______________________________________________
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