Search code examples
iphoneiosanimationtableviewcubes

Scroll tableview cell in cube effect in iOS?


Writing up an code for creating table view in such a manner when user scroll table view it behaves like cube. Please find below youtube link for the vision what I am asking for:

http://www.youtube.com/watch?v=hrBxHq83yKQ

Meanwhile, I tried with CATransform3D transform = CATransform3DMakeRotation(angle, 1, 0, 0); and it working for adding up an row at the top but not for scrolling.

Further, due to lack of knowledge of OpenGLES I can not go with it for rotating the cubes with touch gesture. Please suggest for the same as per your feasibility.

Look forward to hear from you.


Solution

  • I got an answer for cubical scrolling. Earlier I was using below source code link:

    GestureBasedTableViewDemo

    Meanwhile, above tableview demo was using gesture and allow me to only add first row in tableview cell while scrolling down but my requirement was to have cubical scrolling up or down both.

    Further, I tried with vertical iCarousel cylindrical and I achieved the vertical cubical scrolling. Thanks