Xcode 4.2 no longer has the Navigation-based Application template.
What should I use in replacement when starting a project?
Xcode 4.2 no longer has the Navigation-based Application template.
What should I use in replacement when starting a project?
to get a Table View and a Detail View you should go with the Master-detail template. Although at first you may think about it being iPad-only, the iPhone version builds an application which is similar to the Navigation-based.
I don't think that it works. Anyway, you should start with a single view application, then add the files from the New-File menu. You should select View. Then click create. It should generate the required files for you.
In Xcode 4.2 you have to use SIngle-View Application Template. it's the same than Navigation-based Application template.
The Single View Application does not set up the nav controller for you either. You have to build it manually.
What I suggest doing, if you can, load an older version of Xcode and create a blank Navigation-Based app. Use it as a reference for your new apps. You'll have to change your class and file names, of course, but I dont see any issue with doing it that way.
© 2022 - 2024 — McMap. All rights reserved.