Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4.2 creating navigation based application

I just tried to create navigation based application via xcode 4.2 and all I found in the new window have nothing to do with navigation based application .. I found page based application which is the nearest thing to the navigation based application

but it created with the story board which I can't handle yet..

enter image description here

So is there a way to create the good old nav based app? and if not what the alternatives?

like image 905
Mohamed Emad Hegab Avatar asked Oct 23 '11 22:10

Mohamed Emad Hegab


3 Answers

For Navigation only application, you have to chose single view application first. This will give only a view based application without navigationcontroller.

All you have to do is select the viewcontroller and goto menu

Editor -> Embed In -> Navigation Controller

This will give you a navigation based project to start work with.

as @Tommy Herbert said, you can choose master-detail application template where you can select more option like Core data. But this will name your first two VC as master-controller and detailcontroller which is not apt.

like image 52
palaniraja Avatar answered Dec 31 '22 09:12

palaniraja


Until you're comfortable with the new features in iOS 5 (Storyboards, Page View Controllers, etc.), your best bet is to keep a copy of Xcode 3 and create your project there, then open the project in Xcode 4.

You can still download the last version of Xcode 3 (3.2.6 with iOS SDK 4.3) from the developer page:

http://developer.apple.com/devcenter/ios

The "About Xcode and iOS SDK" PDF on the install disk describes how to choose a custom install location to avoid overwriting your Xcode 4 install. Don't select the Unix tools option as that will overwrite that portion of your current Xcode 4 install.

like image 21
SteveCaine Avatar answered Dec 31 '22 09:12

SteveCaine


You have to insert Master detail app. This template provides a starting point for a master-detail application. It provides a user interface configured with a navigation controller to display a list of items and also a split view on iPad.

like image 38
Gajendra K Chauhan Avatar answered Dec 31 '22 10:12

Gajendra K Chauhan