Eric
Eric

Reputation: 5681

MGSplitViewController using Storyboards

I have been working on this for some time now and just cant quite get it to work... Has anyone implemented a MGSplitViewController app using storyboards in iOS 5? I just cant get anything to show up like in the example project and was wondering if there were any tutorials or just steps to getting this to work...

Thanks

Upvotes: 1

Views: 1524

Answers (1)

danfelabs
danfelabs

Reputation: 1893

iOS 5 allows you to custom create View Controller containers. Refer to "Implementing UIViewController Containment". They have a sample project demo, but not sure if they have published the source code.

I think you can create a root ViewController that holds two more child ViewControllers

  • Child 1 - Has UITableView and is aligned left.

  • Child 2 - Has UIView for the details on the right.

MGSplitViewController style transition could be achieved through transitionFromViewController:toViewController:

Upvotes: 1

Related Questions