Hi all,

I have a small app that works on Mac, and I’m further developing an iOS version 
of it.

I’m wondering what the general approach is for dragging an object from one view 
to another in iOS is. On the Mac version, I simply use the usual drag 
image+pasteboard approach, but on iOS this appears not to be supported. Both of 
the views in question are subviews of the same window (obviously, since iOS 
doesn’t have multiple windows) so that probably simplifies things. Is it just a 
case of moving a CALayer belonging to a common ancestor view and then doing 
whatever is needed to communicate between the views when the drag completes? Or 
is there something in UIKit that handles some of that generically? It wasn’t 
obvious where to look; I didn’t see anything in UIView.

—Graham



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to