swift2.2 My first Xcode app

Source: Internet
Author: User

STEP1: start Xcode 6

to the Application , select Xcode 6 to open the Program editing Environment tool.

650) this.width=650; "class=" Alignnone size-full wp-image-5663 "src=" http://www.powenko.com/wordpress/wp-content/ Uploads/2014/08/5.jpg "alt=" 5 "width=" 378 "height=" 269 "/>

Figure 5 Select Xcode 6.

STEP2: The window of the copyright announcement

The first time you perform a window of authority, just Select Agree Agree "Press key.

650) this.width=650; "class=" Alignnone size-full wp-image-5664 "src=" http://www.powenko.com/wordpress/ Wp-content/uploads/2014/08/6.jpg "alt=" 6 "width=" 493 "height=" 341 "/> Map 6 Select "Agree Agree " button

STEP3: Building a new program

in the Enter " Xcode 's Welcome window, please select "Create a new Xcode project"to create a new program.

650) this.width=650; "class=" Alignnone wp-image-5665 "src=" http://www.powenko.com/wordpress/wp-content/uploads/ 2014/08/7.jpg "alt=" 7 "width=" 560 "height=" 336 "/>

Figure 7 builds a new program.

STEP4: Building a new program

In the "Select a menu Window", please select

    • IOS \Application

    • Single View application application.

    • after that, click " Next button "to the next window.

650) this.width=650; "class=" Alignnone wp-image-5666 "src=" http://www.powenko.com/wordpress/wp-content/uploads/ 2014/08/8.jpg "alt=" 8 "width=" 560 "height=" 331 "/>

Figure 8 Choosing an application for a single screen

STEP5: Setting the case

In the "Setup Options window", set

    • Product name is linked fields name.

    • programming language, please set the Swift.

    • after that, click " Next button "to the next window.

650) this.width=650; "class=" Alignnone wp-image-5667 "src=" http://www.powenko.com/wordpress/wp-content/uploads/ 2014/08/9.jpg "alt=" 9 "width=" 560 "height=" 331 "/>

Figure 9 Setting the case

STEP6: Stroke-style case

in the In the editing environment of Xcode , you can directly click the Execute button (which looks like a triangle ) in the upper left corner toperform this kind of panel case.

before you make the case, make sure that the emulator is using the iPhone .

650) this.width=650; "class=" Alignnone wp-image-5668 "src=" http://www.powenko.com/wordpress/wp-content/uploads/ 2014/08/10.jpg "alt=" "width=" 560 "height=" 392 "/>

Map The Program editor environment, click to execute.

STEP7: The effect of the Panel case

After a bit of waiting, you will see the effect of this Panel case before the emulator.

650) this.width=650; "class=" Alignnone wp-image-5669 size-full "src=" http://www.powenko.com/wordpress/wp-content/ Uploads/2014/08/11.jpg "alt=" "width=" 322 "height=" 503 "/>

The effect of the case of the panel.


This article is from the "Optimus Prime Teacher" blog, make sure to keep this source http://powenko.blog.51cto.com/8340419/1538825

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.