• 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
Drag & Drop/Pasteboard issue in Lion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Drag & Drop/Pasteboard issue in Lion
      • From: Raleigh Ledet <email@hidden>
  • Prev by Date: Re: Flipped horizontal NSRulerView?
  • Next by Date: Re: NSTableView with autoResizing Column: How to trigger auto-resizing after setFrame:?
  • Previous by thread: PDFKit pdf version
  • Next by thread: Re: Drag & Drop/Pasteboard issue in Lion
  • Index(es):
    • Date
    • Thread