• 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: Drag and Drop from Photos
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag and Drop from Photos


  • Subject: Re: Drag and Drop from Photos
  • From: Roland King <email@hidden>
  • Date: Sun, 26 Apr 2015 12:50:34 +0800

>
> However, when I do this, I get an empty array for the returnd URLs. This is true even if I just ask for all URLs unfiltered (nil options dictionary). The headers don’t have any info about what do to if the URL is only promised - I had thought that from the receiver’s point of view that was irrelevant and transparent, and the promise would be fulfilled when the receiver asked for the URLs, but that’s clearly not happening. Of course I’m using the dragging pasteboard in my case, not the general one.
>
> Any ideas what I’m not doing that I should be?
>
> —Graham
>
>

Does either of the two implementations of  enumerateDraggingItemsWithOptions:forView:classes:searchOptions:usingBlock: help here? I recall the last time I watched a drag’n’drop video this method was the one called in the example code shown there and gave you the actual item dragged, reconstituted off the pasteboard, as long as you knew which classes to ask for.

My understanding of that video at the time was tenuous and it was a rather long time ago, so this may be entirely off-base.
_______________________________________________

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


References: 
 >Drag and Drop from Photos (From: Graham Cox <email@hidden>)
 >Re: Drag and Drop from Photos (From: Ken Thomases <email@hidden>)
 >Re: Drag and Drop from Photos (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Drag and Drop from Photos
  • Next by Date: Re: Drag and Drop from Photos
  • Previous by thread: Re: Drag and Drop from Photos
  • Next by thread: One must handle UIInterfaceOrientationUnknown
  • Index(es):
    • Date
    • Thread