• 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: Accepting drags from Address Book with multiple people/groups
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accepting drags from Address Book with multiple people/groups


  • Subject: Re: Accepting drags from Address Book with multiple people/groups
  • From: Stefan <email@hidden>
  • Date: Tue, 22 Aug 2006 19:14:34 +0200

Additionally, I'd propose to review the vCard source. The multi-vCard format
is quite good decomposable.


The separator between two vCards is this sequence:

>>>
END:VCARD
BEGIN:VCARD
<<<

Am 22.08.2006 um 18:14 schrieb Alexandre Aybes:

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

_______________________________________________ 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: 
 >Accepting drags from Address Book with multiple people/groups (From: Adam Leonard <email@hidden>)
 >Re: Accepting drags from Address Book with multiple people/groups (From: Alexandre Aybes <email@hidden>)

  • Prev by Date: Re: Undocumented AB property 'com.apple.speech.ABSpeakable'?
  • Next by Date: Re: Providing application resources to a Plugin
  • Previous by thread: Re: Accepting drags from Address Book with multiple people/groups
  • Next by thread: cocoa with apache
  • Index(es):
    • Date
    • Thread