steipete/PSStackedView — pull request #29 by burtlo (2012-03-27 17:25:26+00:00)
Title: Storyboard example

I wanted to use your awesome StackedView in a storyboard environment. This required a little more work to get started. I am proposing this changes but please do not feel you need to accept them into the project. I was hoping to learn a little more about the project and see what you thought of how one would integrate with your codebase.

Storyboards were a little tricky at first as you cannot define a container relationship like you do for Navigational Controllers and Tab Bar Controllers. So tucked into the Stacked View Controller on the storyboard is an Object, which is the class that is set up as the RootViewController.

* RootViewController property is now `readwrite` and `IBOutlet`
* Additional init methods `init` and `initWithCoder` were necessary to work with the storyboard
* The majority of the initialization code was moved into a method within the class as there was some problem with attempting to call [self init] when the code existed in that init method.