To-create my first app in iOS with Xcode (created in Xcode for my initial iOS app)

Source: Internet
Author: User

To create my first app in IOS
    1. Create the project.

    2. In the Welcome window, click "Create a new Xcode project" (or choose File > New > Project).

      Xcode opens a new window and displays a dialog in which you choose a template.

    3. In the dialog, select Application.

    4. In the main area of the dialog, click Single View application and then click Next.

    

5. Use the following values:

    • Product Name:ToDoList

      Xcode uses the product name entered to name your project and the app.

    • Organization name:the Name of your Organization or your own name. You can leave this blank.

    • Organization identifier:your Organization Identifier, if you have one. If you don ' t, use com.example .

    • Bundle Identifier:this value is automatically generated based on your product name and organization Identifier.

    • Language:objective-c

    • Devices:universal

      A Universal app is one, runs on both IPhone and IPad.

    • Use Core Data:leave unselected.   

6. The software ' s overlook.

    

7. Run IOS Simulator. It can model a number of different types of hardware-ipad, IPhone with different screens sizes, and so on.

7.1 Select your own hardware device

    

7.2 Go ahead and look through the menu to see how other Hardware options is available in IOS Simulator

7.3 Click The Run button, located in the Top-left corner of the Xcode toolbar

7.4 Then, you should see something like this:

    

8. Open Your Storyboard, edit the Outlook.

You ' r e ready to start working on a storyboard for your app. A storyboard is a visual representation of the app ' s user interface, showing screens of content and the T Ransitions between them. Storyboards to lay out the flow-or story-that drives your app

8.1 In the Project Navigator, select Main.storyboard .

8.2 Select View->unitility->show file Inspetor. Your Storyboard should look similar to this:

  

8.3 To add a text field to your scene

    • Open the Object library.

    

    • The object library, type in the text field filter field to find the Text field Object quickly.

    • Drag a Text Field object from the object library to your scene.

    • Drag the text field so that it's centered vertically and aligned with the the left margin in the scene.

      Stop dragging the text field when you see something like this

    • To configure the text field ' s placeholder text

    

9. DIY My first app

    

Ten Run The simulation

Readme:it only can run in simulator,if you want to run in real device, should joins the Apple Developer program.

  

Chsry Source: www.cnblogs.com/chsry Date: 2015-08-26 This blog post, most of the personal finishing development, reproduced please indicate the source

To-create my first app in iOS with Xcode (created in Xcode for my initial iOS app)

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.