ipup / PPRevealSideViewController

A new container controller to easily push views on side like Path or Facebook
www.ipup.pro
Other
821 stars 194 forks source link

How to implement ipad like pushViewController on top of current ViewController? #3

Closed steve21124 closed 12 years ago

steve21124 commented 12 years ago

How to implement ipad like pushViewController on top of current ViewController? Just like twitter App, it put the pushViewController like a layer on top of current viewController. Like stackPaper on top of another paper

ipodishima commented 12 years ago

Yeah I see what you mean. I first thought it was about the "new tweet animation" on twitter app on iPad (which is btw very easy to reproduce with PPRevealSideViewController). But, for the effect you are asking, you will need to use an other container controller. It's called CLCascade, and comes from the great work of AppUnite https://github.com/appunite/CLCascade But, its implementation is not easy for universal apps because you will need to set specific inheritance classes. To get rid of that, you can use my fork which uses only UIViewController subclasses : https://github.com/ipodishima/CLCascade It's really easier to use when you have the same controller on both iPhone and iPad

Btw, you can download the app to see the library in action ;) http://itunes.apple.com/fr/app/iaddict-v2/id473749663?mt=8

steve21124 commented 12 years ago

great info thanks

fonkadelic commented 12 years ago

Are these cascaded ViewControllers possible with the iPhone too? I think the Sparrow Mail-Client uses some kind of this technique (see http://sparrowmailapp.com/iphone.php)

ipodishima commented 12 years ago

I don't really know library which do this. I was thinking to update my controller to cascade several push as an option but I really don't have the time right now so can't give a release date