I am a beginner trying to learn Xcode from a book, but its out of date (written for iOS 10, Swift 3).
I shows a template called Tabbed, which is not in the latest version os Xcode.
I found a Tab Bar Controller but that does not set up the views as shown in the book.
I tried creating a standard single view app then added the Tab Bar Controller which added a set of 3 Tabbed view controllers (master + Item 1 & item 2) and reading the book it should have created a Swift file for each of the scenes. But it did not create any. Next you were supposed to create a third scene and link it to the master Tab Bar Controller. This did have the basic View Controller code.
As this does not work exactly as the old version how I produce the correct swift code for the 2 item tab view controllers.
Do I just copy the Class files for the one that I added as the Third view controller and rename them FirstViewController.swift and SecondViewController.swift? I'm worried that the automated creation of files may create back office code and the method I suggest may not work correctly. The book I am using is: Beginners Guide to iOS 10 App Development Using Swift 3 by S Yamacli.
I shows a template called Tabbed, which is not in the latest version os Xcode.
I found a Tab Bar Controller but that does not set up the views as shown in the book.
I tried creating a standard single view app then added the Tab Bar Controller which added a set of 3 Tabbed view controllers (master + Item 1 & item 2) and reading the book it should have created a Swift file for each of the scenes. But it did not create any. Next you were supposed to create a third scene and link it to the master Tab Bar Controller. This did have the basic View Controller code.
As this does not work exactly as the old version how I produce the correct swift code for the 2 item tab view controllers.
Do I just copy the Class files for the one that I added as the Third view controller and rename them FirstViewController.swift and SecondViewController.swift? I'm worried that the automated creation of files may create back office code and the method I suggest may not work correctly. The book I am using is: Beginners Guide to iOS 10 App Development Using Swift 3 by S Yamacli.