iOS 11 development tutorial (ii) Writing the first iOS 11 app

Source: Internet
Author: User

iOS 11 development tutorial (ii) Writing the first iOS 11 app to write the first iOS 11 app

This section will take an iOS 11 application as an example to explain how to use Xcode 9.0 to create a project, as well as some features of the iOS emulator, the editing interface, and so on.

Create a IOS11 Project

All files for an iOS app are under one Xcode project. Projects can help users manage code files and resource files. Here's how to create a project using Xcode

(1) Open Xcode, which pops up the Welcome to Xcode dialog box, shown in 1.1.

Figure 1.1 Welcome to Xcode dialog box

(2) Select the Create a new Xcode project option, which pops up choose a template for your new project: dialog box, shown in 1.2.

Figure 1.2 Choose a template for your new project: dialog box

(3) Select ios| Application in the single View app template, click the Next button to pop up the Choose options for your new project: dialog box, shown in 1.3.

Figure 1.3 Choose options for your new project: dialog box

(4) Fill in the Product name (project name), Organization Identifier (identifier) information, and select language (programming language) and device devices (device), as shown in table 1-1.

Table 1-1 What to fill out

Note: The UI tests that appears in Figure 1.3 is what's new in Xcode 7.0. UI tests is a testing component that automatically tests the UI and interacts with it. It can be done by writing code, or documenting the developer's operation and coding, to automatically click on a button, view, or automatically enter text and other functions. (in the actual development process, as the project becomes larger and more functional, it is very difficult to cover all the test cases in a manual way, especially when new features are added, the old functionality is re-tested again, which leads to a test that takes a lot of time to perform regression testing. This creates a lot of repetitive work, and some of these repetitive tasks can be done automatically, and UI tests can help solve this problem. )

(5) After completing the content, click the Next button to open the Save Location dialog box for the project, as shown in 1.4.

Figure 1.4 Save Location dialog box

(6) Click the Create button, and a project named Hello World is created, and 1.5 shows

Figure 1.5 HelloWorld Project

iOS 11 development tutorial (ii) Writing the first iOS 11 app

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.