Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Animating slide show in iOS

Anybody have any idea how this is done?

http://youtu.be/r_cII4_aq_A

In general, the idea is awesome, but I would like to know how to do each specific thing. In the video, the pages are being swiped too fast so you can't see, but as you transition from one page to the next, each pixel smoothly transitions to it's new color. Also, it's really cool how the icon gets smaller to a minimum size as you transition away from a screen.

Maybe there's some 3rd party library that provides a protocol and it's relatively easy to implement, but I can't find it. If there's not, I'm thinking it's just one view controller with many views side by side and as you drag your finger, it calculates where each view needs to be..and what color every pixel needs to be.

like image 840
Cameron Askew Avatar asked Nov 11 '22 11:11

Cameron Askew


1 Answers

I imagine you already have it by now. But in case you still have any doubts, I made gist that does the animation: https://gist.github.com/mnmaraes/9536364

Anyways, have fun.

like image 172
Murillo Avatar answered Nov 15 '22 04:11

Murillo