Drag & Drop/Pasteboard issue in Lion
Drag & Drop/Pasteboard issue in Lion
- Subject: Drag & Drop/Pasteboard issue in Lion
- From: Half Activist <email@hidden>
- Date: Thu, 11 Aug 2011 12:14:28 +0200
Hello,
I'm working on a project where i can drag items from the Address Book (persons) and drop them on a view to add them (actually read the vCard).
Everything worked fine up to Lion.
Now, the pasteboard gives me the type public.vcard as available, but no data is available for it yet (NSPasteboardItem dataForType: returns nil).
I tried getting the data as a propertyList and string but the results are coherent, nothing is stored in the pasteboard.
I gave a look at the file promise, the type "com.apple.pasteboard.promised-file-url" is available, but nil is returned with dataForType:, propertyListForType: and stringForType:.
Any hints are welcome.
Regards._______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden