On Jan 28, 2014, at 5:26 PM, Kyle Sluder <k...@ksluder.com> wrote: > The most straightforward way to do this is probably going to be creating > a custom CAAnimation that drives the position of the views which are > moving around, as well as a property of the "connections" layer that > encodes the positions between which lines should be drawn. The > connections layer can return YES for +needsDisplayForKey: for that "line > endpoints" key.
Ok, well I think that's roughly what I'm fumbling my way through. To me there's nothing straightforward about it, though. Maybe I'm being dense, but it's just… not working. I'll spare the long explanation of failures. Here's a simple project: http://www.sethwillits.com/temp/CATest.zip Click on the view and it moves the red square. While the square is moving, the goal is to have second layer continuously update so the line spins. If you have the time and can demonstrate the approach you've described I'd be very grateful. I've been at this for hours. Still trying… -- Seth Willits _______________________________________________ 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