Saturday, July 30, 2011

iOS Universal App with “Twitter’s” stacked scrollview

For my next iOS project I want an effect that is akin to Twitter’s stacked scroll panels on iPad. It is not going to be exactly the same and should suit both iPad and iPhone screens.

First step was to find something to speed up the way to the Universal app. For myself I found the best starting point here: http://blog.corywiles.com/creating-a-universal-ios-app-tutorial. Make sure you don’t overlook a link to the git repo: https://github.com/kwylez/Universal-iOS-App-Template.

Then for the stacked scroll view a quick search led to the work of http://www.raweng.com/ team with repo here: https://github.com/Reefaq/StackScrollView.

Given all that, it was a no-brainer to put one and one together. Not going to repo this, so find all of the files required in this archive.

Just spread the files across the project as you wish and set the correct nib for iPhone and iPad in your project setting:



Huge credit to the guys mentioned above for making my life so much easier !

No comments: