kodeco.com Forums

Video Tutorial: Split View Controllers Part 1: Getting Started

Learn the basics of using UISplitViewController in your universal apps, starting with using it to construct a table view leading to a detail view.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/3326-split-view-controllers/lessons/1

Hi

I use a split view controller to add items to the Detail Controller.

In my master controller I seque to an uiviewcontroller (push) that shows images.

On selecting an image I segue to DetailViewController using a hidden button (already sounds bad).

Have tried all I can think of to customise UIBarButton item to show <Master and the collapse detail when I select this.

Obviously this works fine if I stay in the box and walk up and down the Master Navigation Stack but this is clunky…

Two questions

  1. Is it really this hard or is it me being stupid(quite likely)

  2. How do I force the collapse of a Detail View Controller

Any help greatfully received have been at this for weeks

Sorry last post had an HTML fail

Have tried all I can think of to customise UIBarButton item to show the button back to master and I have been able to get this to work and execute code in the master controller but can not collapse the primary

Will this course be updated for Swift 3 - iOS 10 - Xcode 8 soon?

Hi!, Will this course be updated for Swift 3 - iOS 10 - Xcode 8 soon, thanks?

The started project has about 9 errors and needs to be updated to Swift 3.

Hello, please when this will be updated to swift 3 / 4, urgent

Hi.
Yes, it would be great to update this video course to Xcode 9 and Swift 4. Greetings!

We will update the whole video course series soon. Thank you! :]

Please Update
The code Will NOT compile in xcode 9.2