Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New iPhone App - How to Choose which Xcode Template to Use?

In general I'd like to understand which templates to use when, when I'm making new iPhone apps. Could anyone offer some guidelines, tips, rules-of-thumb?

Also, how much should I agonize over this? If I start off with the wrong one, can I add the missing pieces manually, is it hard?

For reference here are the choices I'm seeing:

  • Navigation-Based Application
  • OpenGL ES Application
  • Tab Bar Application
  • Utility Application
  • View-Based Application
  • Window-Based Application
like image 355
Greg Avatar asked Dec 14 '08 19:12

Greg


People also ask

How do I use Xcode templates?

Using the Template First, close Xcode, then reopen it for your changes to take effect. Go to File ▸ New ▸ Project… to open the New Project dialog. Scroll to the bottom of the iOS category and select your View Model App template. Click Next.

How do I change project target in Xcode?

Changing the target name is just as simple. Click on the project name at the top left, then select a target name on the right pane followed by pressing "Enter". Type in the new name. @Alan, in Xcode 6, this was changed to a square icon, with a bolded line on the left side.

How do I make an iPhone app using Xcode?

Launch Xcode, then click “Create a new Xcode project” in the Welcome to Xcode window or choose File > New > Project. In the sheet that appears, select the target operating system or platform and a template under Application. In the following sheets, fill out the forms and choose options to configure your project.

Where is target settings in Xcode?

Choose the project in the Project Navigator on the left. Select the Configurations target from the Targets section and click the Build Settings tab at the top. The Build Settings tab shows the build settings for the Configurations target. It's possible to expand this list with build settings that you define.


1 Answers

In iPhone Development Quick Start, from Apple, you have a brief description of each:

  • Navigation-Based Application. An application that presents data hierarchically, using multiple screens. The Contacts application is an example of a navigation-based application.
  • OpenGL ES Application. An application that uses an OpenGL ES–based view to present images or animation.
  • Tab Bar Application. An application that presents a radio interface that lets the user choose from several screens. The Clock application is an example of a tab bar application.
  • Utility Application. An application that implements a main view and lets the user access a flipside view to perform simple customizations. The Stocks application is an example of a utility application.
  • View-Based Application. An application that uses a single view to implement its user interface.
  • Window-Based Application. This template serves as a starting point for any application, containing an application delegate and a window. Use this template when you want to implement your own view hierarchy.
like image 58
Daniel Silveira Avatar answered Oct 11 '22 18:10

Daniel Silveira