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

Accepting drags from Address Book with multiple people/groups


  • Subject: Accepting drags from Address Book with multiple people/groups
  • From: Adam Leonard <email@hidden>
  • Date: Fri, 18 Aug 2006 23:10:36 -0700

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
_______________________________________________
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


  • Follow-Ups:
    • Re: Accepting drags from Address Book with multiple people/groups
      • From: Alexandre Aybes <email@hidden>
  • Prev by Date: Re: Custom NSButtonCell and NSTableColumn binding
  • Next by Date: cocoa with apache
  • Previous by thread: Re: Core Data attributes and reserved names...
  • Next by thread: Re: Accepting drags from Address Book with multiple people/groups
  • Index(es):
    • Date
    • Thread