在iOS中的多维数据集效果中滚动tableview单元格? [英] Scroll tableview cell in cube effect in iOS?

查看:90
本文介绍了在iOS中的多维数据集效果中滚动tableview单元格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编写这样的代码来创建表视图,当用户滚动表视图时,它的行为类似于多维数据集。请在YouTube链接下方找到我所要求的愿景:

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

同时,我尝试使用 CATransform3D transform = CATransform3DMakeRotation(angle,1,0,0); ,它可以在顶部添加一行,但不能滚动。

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.

此外,由于缺乏OpenGLES的知识,我无法通过触摸手势旋转立方体。请根据您的可行性提出相同的建议。

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.

期待您的来信。

推荐答案

我得到了三次滚动的答案。之前我使用下面的源代码链接:

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

GestureBasedTableViewDemo

同时,上面的tableview演示使用手势,只允许我向下滚动时在tableview单元格中添加第一行,但我的要求是向上或向下三次滚动

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.

此外,我尝试使用垂直的 iCarousel 圆柱,我实现了垂直三次滚动。谢谢

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

这篇关于在iOS中的多维数据集效果中滚动tableview单元格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆