ios - animatewithduration exponentially get faster -


i developing ios app. in app have blocks(uiview's) falling top of screen using uiview animatewithduration. looking have them exponentially faster fall. there way using animatewithduration or there way try achieve same effect?

you can increment duration variable in completion block , recall animation. simple effective way you're asking.

[uiview animatewithduration:somevariable animations:^{  // animation  } completion:^ (bool finished)  {     if (finished) {         // increment somevariable here          // call holding method again     } }]; 

Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -