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 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.

    

  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     

  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.

    

  • 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

    

  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
出处:www.cnblogs.com/chsry
日期:2015-08-26
本博客文章,大多系个人整理开发,转载请注明出处

最新文章

  1. 玩转JavaScript OOP[1]——复杂类型
  2. 【Network】高性能 UDP 应该怎么做?
  3. 轻量级iOS蓝牙库:LGBluetooth(项目中用过的)
  4. 第八十八天请假 PHP smarty模板 变量调节器,方法和块函数基本书写格式
  5. iOS 中不同的modalPresentationStyle对parent view 的影响
  6. jenkins+git实现docker持续部署
  7. 【hdu2815-Mod Tree】高次同余方程-拓展BadyStepGaintStep
  8. 配置spring管理的bean的作用域
  9. jquery 选择器 的学习,自己慢慢来
  10. 匿名HTTP透明HTTP高匿HTTP区别
  11. JavaScript(第十一天)【变量,作用域,内存】
  12. vfd折腾(一)
  13. 一些 NSArray 的基本操作代码例子
  14. android TabLayout设置选中标签字体加粗功能
  15. Django创建项目基本步骤
  16. Go语言之高级篇beego框架之模型(Models)
  17. zabbix实现电话、短信、邮件报警
  18. 转:ASP.NET前台代码绑定后台变量方法总结
  19. EditText添加表情
  20. 搭建hadoop_之 创建3个虚拟机配置好网络

热门文章

  1. <记录学习>京东页面最后一天HTML以及css遇到的问题
  2. Atitit.excel导出 功能解决方案 php java C#.net版总集合.doc
  3. Spring4学习笔记 - 配置Bean - 自动装配 关系 作用域 引用外部属性文件
  4. Sending e-mail
  5. JPA persistence
  6. Jquery中的日历插件
  7. sizzle源码分析 (3)sizzle 不能快速匹配时 选择器流程
  8. aBowman >>可以运用到自己博客上的小插件
  9. 实现微信浏览器内打开App Store链接(已被和谐,失效了)
  10. Android 网络HTML查看器