Create a password for iPhone software-start xcode creation project
The development of any mac application starts from xcode and then creates a project. When developing an application, you must first create a project.
You can use a template to create a project ). The template has prepared some essential documents and directories in advance. Of course, you can create an empty project. However, it takes a lot of time to import necessary files and set up applications. Therefore, we recommend that you use a template. After using the template, you can start programming immediately.
Xcode provides many different templates based on application types. You can select a template that meets the requirements from the Project Creation navigation window. Select the cocoa appliction template for this instance.
1. Open the xcode integrated development environment. The path of the xcode program is "/developer/applications/xcode ".
After xcode is started, the welcome screen is displayed for the first time, as shown in Figure 6.2. If you deselect the show this windows when xcode launches check box below, the welcome screen will not be displayed the next time you start xcode.
2. Create a new project.
Click Create a New xcode project on the page to enter the navigation window for creating a new project,
6.3.
The list of all engineering templates is displayed in the window. You can select an iPhone OS application template at the top of the left-side category navigation window. It will be used to learn how to develop iPhone applications in the future. Select Application> cocoa application under Mac OS X, click the choose button, enter the project name Hello world in the interface shown in 6.4, and click Save. The new project is created successfully.
After the above steps, the screen shows the windows for logging on to various files. This window is called a project window. For more information about the project window, see Chapter 2nd introduction to relevant chapters.
This article is excerpted from the book "software rich password: iPhone application development strategy-a simple introduction to objective-C 20.
The book "software rich password: An in-depth introduction to iPhone application development strategy objective-C 20" has been officially published by the Electronics Industry Publishing House and edited by Wang Zhigang.
Purchase address:
Dangdang:
Http://product.dangdang.com/product.aspx? Product_id = 21099098 & ref = search-1-Pub
Zhuo yuewang:
Http://www.amazon.cn/%E8%BD%AF%E4%BB%B6%E5%88%9B%E5%AF%8C%E5%AF%86%E7%A0%81-iPhone%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E5%BC%80%E5%8F%91%E6%94%BB%E7%95%A5%E4%B9%8B%E6%B7%B1%E5%85%A5%E6%B5%85%E5%87%BAObjective-C-2-0-%E7%8E%8B%E5%BF%97%E5%88%9A/dp/B005468TFI/ref=sr_1_1? Ie = utf8 & qid = 1307935193 & sr = 8-1
China Interactive publishing network:
Http://product.china-pub.com/193976