国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 開發(fā)設(shè)計(jì) > 正文

TocreatemyfirstappiniOSwithXcode(在Xcode創(chuàng)建我的第一個iOSapp)

2019-11-14 18:27:27
字體:
供稿:網(wǎng)友

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. 

    image: ../Art/project_template_window_2x.png
  3. In the iOS section at the left of 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 you 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 that runs on both iphone and iPad.

    • Use Core Data: Leave unselected.  

  6.   Here is the software's overlook.

    image: ../Art/workspace_overview_2x.png

 

  7.  Run iOS Simulator . it can model a number of different types of hardware—iPad, iPhone with different screen sizes, and so on.

  7.1  select your own hardware device

    

  7.2  Go ahead and look through the menu to see what other hardware options are available in iOS Simulator

  7.3  Click the Run button, located in the top-left corner of the Xcode toolbar    image: ../Art/xcode_toolbar_full_2x.png 

  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 transitions between them. You use 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.

    image: ../Art/object_library_2x.png

  • In the Object library, type text field in the 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 left margin in the scene.

    Stop dragging the text field when you see something like this

  • To configure the text field’s placeholder text

    image: ../Art/attributes_inspector_2x.png

  9. DIY my first app

    

  10 Run the simulation

     

   

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

  

作者:chsry出處:m.survivalescaperooms.com/chsry日期:2015-08-26本博客文章,大多系個人整理開發(fā),轉(zhuǎn)載請注明出處

 

 


發(fā)表評論 共有條評論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 喀喇沁旗| 剑川县| 湘西| 从江县| 澎湖县| 黄梅县| 凤阳县| 兴义市| 苗栗市| 吉首市| 沙雅县| 武穴市| 汉沽区| 卫辉市| 抚顺市| 民丰县| 扶风县| 定襄县| 岐山县| 景泰县| 中阳县| 保定市| 英吉沙县| 江孜县| 锡林郭勒盟| 日土县| 慈溪市| 深泽县| 晋宁县| 浦县| 麟游县| 芒康县| 台安县| 香格里拉县| 金塔县| 威信县| 铜山县| 依兰县| 资中县| 监利县| 利辛县|