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
本博客文章,大多系个人整理开发,转载请注明出处

To create my first app in iOS with Xcode(在Xcode创建我的第一个iOS app )的更多相关文章

  1. iOS 11开发教程(二)编写第一个iOS 11应用

    iOS 11开发教程(二)编写第一个iOS 11应用 编写第一个iOS 11应用 本节将以一个iOS 11应用程序为例,为开发者讲解如何使用Xcode 9.0去创建项目,以及iOS模拟器的一些功能.编 ...

  2. iOS 11开发教程(三)运行第一个iOS 11程序

    iOS 11开发教程(三)运行第一个iOS 11程序 运行iOS11程序 创建好项目之后,就可以运行这个项目中的程序了.单击运行按钮,如果程序没有任何问题的话,会看到如图1.6和1.7的运行效果. 图 ...

  3. iOS 国际化最新最全教程+如何快速国际化一个现成APP

    同学面试时遇到一个问题,面试官问他,有一个现成的APP马上要上线了,怎么在不改原来代码,也不改xib.storyboard里的文字的情况下快速实现国际化.这里应同学请求写下此教程.反正国际化的步骤都要 ...

  4. Anaconda+django写出第一个web app(一)

    在安装好Anaconda和django之后,我们就可以开始创建自己的第一个Web app,那么首先创建一个空文件夹,之后创建的文件都在这个文件夹内. 启动命令行进入此文件夹内,可以先通过如下命令查看一 ...

  5. 如何用 React Native 创建一个iOS APP?(三)

    前两部分,<如何用 React Native 创建一个iOS APP?>,<如何用 React Native 创建一个iOS APP (二)?>中,我们分别讲了用 React ...

  6. 如何用 React Native 创建一个iOS APP?(二)

    我们书接上文<如何用 React Native 创建一个iOS APP?>,继续来讲如何用 React Native 创建一个iOS APP.接下来,我们会涉及到很多控件. 1 AppRe ...

  7. 如何用 React Native 创建一个iOS APP?

    诚然,React Native 结合了 Web 应用和 Native 应用的优势,可以使用 JavaScript 来开发 iOS 和 Android 原生应用.在 JavaScript 中用 Reac ...

  8. 分享iOS开发常用(三方类库,工具,高仿APP,实用网站,技术干货)

    一 . JSONModel  (三方类库会有更新,建议大家在线下载) http://pan.baidu.com/s/1i5ybP1z 二.AFNetworkiong http://pan.baidu. ...

  9. 超强教程:如何搭建一个 iOS 系统的视频直播 App?

    现今,直播市场热火朝天,不少人喜欢在手机端安装各类直播 App,便于随时随地观看直播或者自己当主播.作为开发者来说,搭建一个稳定性强.延迟率低.可用性强的直播平台,需要考虑到部署视频源.搭建聊天室.优 ...

随机推荐

  1. selenium启动firefox时加载扩展

    有些时候,我们测试需要用到插件或者已经导入的证书(比如金融和安全加密行业),而selenium启动firefox时会打开一个新的,不含有任何插件和个人证书的firefox(等同于全新安装后第一次打开的 ...

  2. Java的主要数据类型(Primitive)

    有一系列类需特别对待:可将它们想象成"基本"."主要"或者"主"(Primitive)类型,进行程序设计时要频繁用到它们.之所以要特别对待, ...

  3. CutJS – 用于 HTML5 游戏开发的 2D 渲染引擎

    CutJS 是轻量级的,快速的,基于 Canvas 开发的 HTML5  2D 渲染引擎,可以用于游戏开发.它是开源的,跨平台的,与现代的浏览器和移动设备兼容.CutJS 提供了一个类似 DOM 树的 ...

  4. oracle表的管理

    表名和列的命名规则 必须以字母开头: 长度不能超过30字符: 不能使用oracle的保留字: 只能使用如下字符:A-Z,a-z,0-9,$,#等:   数据类型: 字符型: char       定长 ...

  5. CSS常用样式(三)

    一.2D变换 1.transform   设置或检索对象的转换 取值: none::以一个含六值的(a,b,c,d,e,f)变换矩阵的形式指定一个2D变换,相当于直接应用一个[a,b,c,d,e,f] ...

  6. 【Leafletjs】1.创建一个地图

    code: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <l ...

  7. Spring Session

    开工开工, 准备条件: 1. 本地Redis,官网:http://redis.io/,windows下 https://github.com/ServiceStack/redis-windows ht ...

  8. 一个插件让你在chrome直接运行apk

    插件的下载地址: https://chrome.google.com/webstore/detail/arc-welder/emfinbmielocnlhgmfkkmkngdoccbadn?utm_s ...

  9. JavaScript学习04 对象

    JavaScript学习04 对象 默认对象 日期对象Date, 格式:日期对象名称=new Date([日期参数]) 日期参数: 1.省略(最常用): 2.英文-数值格式:月 日,公元年 [时:分: ...

  10. 如何获取应用宝APP ID

    二百二维码支持绑定应用宝ID后,android 扫码下载后,微信直接下载APP,不打开应用宝页面,非常方便APP进行推广 那如何获取应用宝APP ID呢, 请参考下面的教程    一, 打开http: ...