Re: Change in animation?
Re: Change in animation?
- Subject: Re: Change in animation?
- From: Matt Neuburg <email@hidden>
- Date: Sat, 30 Jul 2011 10:39:24 -0700
On Sat, 30 Jul 2011 09:22:45 -0700, David Rowland <email@hidden> said:
>Yikes, so I did, and I had forgotten. Must be Codeheimer's disease.
>Side question -- animateWithDuration:::::
>
>is a class method. How does it know which view to act on?
You order up your animations in advance, in the block supplied as the animations: parameter, and then they take place at the next "redraw moment". In your case, you have set theView.alpha in that block, so you are asking for that change on that view to be portrayed as animated. My iOS book is particularly helpful on how Core Animation works (on iOS) - and you can read that chapter even if you don't have the book:
http://www.apeth.com/iOSBook/ch17.html
m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook_______________________________________________
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