谁能指导我如何实现ios应用动画?
需要什么样的视图控制器、对象和实现?
谢谢
You shoud have:
Use touchesBegan to detect the view that is clicked/selected and the type of touch
That about sums it up. Try to create a maximum amount of elements programmatically.
There is no harm if you take a look at this:
Move UIViews to avoid collision like rearranging icons on Springboard
check Kristopher Johnson Answer.
Unfortunately Apple doesn't provide a GridView Class, but you can use the very handy TTLauncherView from Three20 that implements all the default behaviour for you:
https://github.com/facebook/three20
From their website http://three20.info/
Three20 is a open source Objective-C library used by dozens of well-known brands in the App Store, including Facebook, Posterous, Pulse, Meetup.com, and SCVNGR. Three20 provides powerful view controllers such as the Launcher, the popular Photo Browser, and internet-aware tables.