I would recommend subclassing CALayer and using a notification to update its position. Without more detail, I can¹t tell you exactly how to do this. I use movie layers which do track underlying draw objects when I drag them.
On 12/17/12 6:14 AM, "[email protected]" <[email protected]> wrote: > I have a very simple piece of code that doesn't behave how I expected it to. > When I drag a CALayer, it does not follow the mouse but snaps to its final > location after I exit the loop. I've tried forcing the view to redisplay > within the loop, etc but nothing works. How can I do this? _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
