iPad 滑动面板控制如 Twitter
twitter iPad 应用程序背后的机制是什么?我觉得它有分割视图控制器,带有动画和手势控制的视图控制器,或者可能有用于无限滚动的滚动视图。 如何为我的应用程序开发相同的 UI?
What would be the mechanism behind twitter iPad application? I feel its having split viewcontroller, viewcontrollers with animation and gesture controls, or there may be scrollviews for endless scrolling.
How can I develop same UI for my application?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
嘿,这是一个受 Twitter-ipad 应用程序启发的演示项目
其源代码在 github 上开源(链接发布在上面的博客中)。
希望能帮助您理解其背后的概念!
Hey, here our is a demo project which is inspired by Twitter-ipad app
its source code is opensource on githib (link posted in above blog).
hope that help u to understand the concept behind it !!
Matt Gammell ...他做了一个可拖动的分割视图。我能想到的最接近的可能可以配置为模拟 http://github.com/mattgemmell/MGSplitViewController
Matt Gammell ... He did a draggable split view. Its the closest i can think of may be configurable to emulate that http://github.com/mattgemmell/MGSplitViewController
我相信它只是一个启用分页的滚动视图,它在
scrollViewDidScroll
上移动它的子视图,在scrollViewDidEndScrollingAnimation
方法中执行一些额外的动画以及其他一些光滑而性感的事情:)I believe it is just a scroll view with enabled paging, that moves it's subviews on
scrollViewDidScroll
, does some additional animation inscrollViewDidEndScrollingAnimation
method and with some other slick and sexy things :)