yanx730 / yanx730.github.io

Leox' A&i
GNU General Public License v2.0
0 stars 0 forks source link

Start Developing iOS Apps Today #55

Open yanx730 opened 7 years ago

yanx730 commented 7 years ago

http://everythingcomputerscience.com/books/RoadMapiOS.pdf

yanx730 commented 7 years ago

RoadMapiOS.pdf

yanx730 commented 7 years ago

目录

分成4部分

  1. 介绍
  2. app结构
  3. 实现
  4. 下一步 版本历史
yanx730 commented 7 years ago

Introduction

基础样例

@autoreleasepool --> Automatic Reference Counting (ARC)

UIApplicationMain会创建2个重要的组件:

  1. UIApplication类:管理app事件循环,协调其他高级别的app行为。在UIKit中定义,不需要写任何多余的代码。
  2. AppDelegate类:用来创建空的app模板。App delegate创建window,响应app内状态的转移。

Story Board 创建后需要在General->Deployment->Main Interface中选择。 剪头指向的scene是程序启动时加载的。