Swift入门 新浪微博

##新浪微博

- storyboard + 代码

- 项目主体框架:

  - 主视图控制器 UITabbarController

  - 包含四个UINavigationController,分别是首页 消息 发现 我

  - 特殊之处,UITabbarController中间的加号+

- 配置源代码管理工具 SVN or Git  or OSChina

  - 将项目部署到git.oschina.net

  - 注册 登录 

  - 添加SSH公钥: cd ~/.ssh

  - mkdir  ~/.ssh

  - ls

- APPIcon: 手机显示的小图标

- info: Boundle name   微博

- launchScreen: 启动图片  删除

  - target: launch的图片资源 上新建一个lanchImage 到Assets中 

  - 注意: 如果启动图片不显示,把模拟器重启一下

- WEIBO的文件结构: Classes

- AppDelegate是应用程序的入口放到外面

- MainviewController

  + command + shift + j 将焦点定位到目录

  + ⬆️⬇️选中对应的文件夹

  + 按下回车重命名

  + command + c 拷贝文件名称

  + command + n 创建文件夹

  + command + v 粘结回车

- AppDelegate 中创建window 设置根控制器 

 

posted @ 2015-11-06 09:53  aunty_m  阅读(254)  评论(0编辑  收藏  举报