Looping CAKeyframeAnimation stop in place?

2012-11-09 Thread Eric E. Dolecki
I have a UIImageView that I spin forever (think a top-down view of a spool in a tape cassette). However I would like to stop the rotation animation & when it does NOT reset the UIImageView to it's original starting position. I have this to start it: CAKeyframeAnimation *rotationAnimation; rotati

Re: Looping CAKeyframeAnimation stop in place?

2012-11-09 Thread Matt Neuburg
On Nov 9, 2012, at 11:54 AM, cocoa-dev-requ...@lists.apple.com wrote: > Date: Fri, 09 Nov 2012 14:53:57 -0500 > From: "Eric E. Dolecki" > //This is resetting the rotation to 0 - a visible jump Think of animation as a kind of movie projected on a screen in front of your actual static drawing.

Re: Looping CAKeyframeAnimation stop in place?

2012-11-09 Thread David Duncan
This is probably the simplest way to do it: http://developer.apple.com/library/mac/#qa/qa1673/_index.html On Nov 9, 2012, at 11:53 AM, Eric E. Dolecki wrote: > I have a UIImageView that I spin forever (think a top-down view of a spool > in a tape cassette). However I would like to stop the rota

Re: Looping CAKeyframeAnimation stop in place?

2012-11-09 Thread Eric E. Dolecki
Wow that's awesome. Thanks for that :) Google Voice: (508) 656-0622 Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki http://blog.ericd.net On Fri, Nov 9, 2012 at 4:30 PM, David Duncan wrote: > This is probably the simplest way to do it: > http://developer.apple.com