ios developer tiny share-20160711

本文详细介绍了使用Xcode创建iOS应用程序的过程。从选择模板到配置项目细节,包括指定团队、编程语言及添加测试目标等步骤。

讲完Xcode的Overview后,我们开始创建第一个工程。

和其它IDE一样,Xcode也是按照向导和模板创建工程,具体官方的创建ios app的步骤如下:

First create your Xcode project from a template of a common style of app or framework, and then modify the project as you like. The Xcode templates include essential project configuration and files that help you start developing your app more quickly.

1.Launch Xcode and in the “Welcome to Xcode” window, click “Create a new Xcode project.”
Alternatively, choose File > New > Project.

2.Under the operating system that your app will run on, select Application, select a template from the list of templates, and click Next.
For example, to create an app with a single empty window, for iOS apps select, Single View Application, and for macOS apps, select Cocoa Application.


3.In the sheet that appears, fill in the text fields and choose options from the pop-up menus to configure your project.
You must enter a product name and organization identifier to continue to the next sheet. You should also enter an organization name (if you are an individual, enter your name). The following screenshot shows options for creating an iOS app.


4.From the Team pop-up menu, choose your team.
If the “Add account” button appears, optionally add an account and select a team now. Otherwise, skip this step and assign a team later.

5.From the Language pop-up menu, choose a programming language.

6.To add test targets to your project, select Include Unit Tests and Include UI Tests.

7.Click Next.
A sheet asks you where to save your project.

8.Specify a location for your project, optionally select “Create Git repository on” to use source control, and click Create.
The main window for your project appears, similar to the iOS app main window below.


评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值