ios developer tiny share-20160718

今天把ios的布局收尾,然后开始写controller里的代码,以及语法错误检查,智能提示等。

具体如下:

To view and edit existing connections for an object, select the object and open the Connections inspector.
In the assistant editor, you can view a live preview of the user interface as you create it. From the assistant editor selection bar, choose a user interface file from the Preview menu. For example, choose Main.storyboard (Preview) and the assistant editor shows the layout of the first view your users will see. For iOS apps, use the control at the bottom of the preview to switch between portrait and landscape mode. If you add localizations to your app, you can select a language from the pop-up menu in the lower right corner. If you don’t have localization yet but want to see how your UI handles different string lengths, choose Double-Length Pseudolanguage from the language menu.


Write your code
After you create the UI, you need to implement the action methods that Interface Builder added to your source files. To view and edit a source file, select the file in the project navigator (), and the file contents appears in the source editor on the right. To open it in a separate window, double-click the source file.
To enter code, place the pointer in the file, press Return to create a new line, and enter code. As you type in the source editor, Xcode scans your text. When you make a syntax error, Xcode marks it with a red underline or a caret. If an error icon appears, click it to display a message describing the issue.


When you begin typing the name of a symbol, Xcode offers inline suggestions for completing the name. Click an item in the suggestion list to select it, or use the Up Arrow and Down Arrow keys to change the selected suggestion. Press Return to accept a suggestion.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值