Twitter for iPad introduced a new way of browsing content. Does anyone have a guess of how these sliding panels are managed? Is it one big UIScrollView
with a bunch of UITableViews
in it? Or a bunch of UIViewControllers
sliding on top of each other? Or something else? What's your bet?
views:
181answers:
2I think the trick here isn't in the view types used, but rather in the positioning and animating of them. When various panels slide in and out, I think they're using something like some CAKeyframeAnimations that activate through an implementation of UIGestureRecognizer.
For vertical scrolling they're using UIScrollView, but for horizontal scrolling, the above is my bet.
Supposedly the developer flattened a navigation controller into slidable panels. Yet no other info is known to my knowledge.
It kind of makes sense, it's basically just a UINavigationController
and the way you move up and down the stack changes. Instead of showing just 1 UIViewController
at a time, now multiple can be shown. I can't really help with the exact implementation though.