UISplitViewController - Static view of the main table and the controller of several detailed views

I am trying to create an application that will have a similar interface with iOS settings, and I am a little lost how to proceed.

Basically, I plan to make the wizard represent the static view of the table. And each row in this static table view has its own detail view controller.

Currently, I have made my main static view of the table through the storyboard. How can I make each of the lines, when used, show my respective detail view controllers in the detail view? I would like to know how best to move in this situation.

I am browsing the network for tutorials, but I see only a dynamic view of the main table with only 1 detailed instructions from the detail view controller. And they used delegates to connect view controllers left and right. But for me, I don’t have a model object as I am using a static table view.

I know how to do this programmatically (connecting left and right views), but I plan to use storyboards for this, as I have several static table views that are detailed row views in my main table view. I do not know how to do this using storyboards.

+6
source share
2 answers

In Xcode 6, check out the "Show Detail" section. You can drag it from the main view controller to other detailed views and change them by calling this segue from the wizard.

Here is a brief example of this.

+11
source

This is old code, but last year I was able to implement it in the iOS 6 project, and it seems to work fine in iOS 7 (we are updating the project now, but the initial tests show its work).

This basically gives a fully documented approach to implementing several detailed views in a split-view controller using Interface Builder:

http://www.scienceathand.com/idevblogaday/adventures-in-uisplitviewcontroller-2/

+1
source

All Articles