开发者

How to achieve this animatied transition effect when selection changes?

开发者 https://www.devze.com 2023-01-10 16:49 出处:网络
(The title sucks. How to improve?) Animated selection http://www.clafy.com/images/mwsnap001.jpg In the pictu开发者_StackOverflow社区re above, there are 5 items. Use gestures to change selected item.

(The title sucks. How to improve?)

Animated selection http://www.clafy.com/images/mwsnap001.jpg

In the pictu开发者_StackOverflow社区re above, there are 5 items. Use gestures to change selected item. During selection changing, there is some kind of animation like the Dock of MacOSX(although not that fancy). After that, the selected item will be in the screen center and in a highlighted mode(like cycling through a series of image).

I don't have a clue to start. Can you give me a hint? Thanks.


you may want to check UIView animations static methods...

Animating Views

  • beginAnimations:context:
  • commitAnimations
  • setAnimationStartDate:
  • setAnimationsEnabled:
  • setAnimationDelegate:
  • setAnimationWillStartSelector:
  • setAnimationDidStopSelector:
  • setAnimationDuration:
  • setAnimationDelay:
  • setAnimationCurve:
  • setAnimationRepeatCount:
  • setAnimationRepeatAutoreverses:
  • setAnimationBeginsFromCurrentState:
  • setAnimationTransition:forView:cache:
  • areAnimationsEnabled
0

精彩评论

暂无评论...
验证码 换一张
取 消