title: Using the UISplitViewController in iOS Swift 3
body: <p>I have been going through this tutorial <a href="https://www.raywenderlich.com/94443/uisplitviewcontroller-tutorial-getting-started" rel="nofollow noreferrer">here</a> however when you try to update the code to Swift 3 syntax you get errors. I do not know enough Swift to fix them myself.</p>
  
  <p><a href="https://i.stack.imgur.com/v8hEd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v8hEd.png" alt="enter image description here"></a><a href="https://i.stack.imgur.com/FsW9i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FsW9i.png" alt="enter image description here"></a></p>
  
  <p>The bottom line is I am trying to find a tutorial to help me use the <code>UISplitViewController</code> in Swift 3. I tried picking apart Xcode's Master Detail Application but I was not able to figure it out.</p>
  
  <p>EDIT: I was able to get rid of the errors, however the app does not function correctly i.e. the Detail view of the app should change to the corresponding master view item selected. It does not do this. It stays on one view.</p>