摘要: 1 项目第一天 2 3 在码云上建立一个远程仓库,并把它下载到本地 4 5 把代码提交到远程仓库和本地仓库中,实现git 对源代码进行管理 6 全程用X-code 操作 7 复制下"码云"仓库的HTTP URL 8 根据URL把远程仓库下载到本地 9 创建项目 10 把项目添加到本地仓库/远程仓库 11 项目前的配置 12 13 设置程序启动图标 14 可通过 :Laun... 阅读全文
posted @ 2016-09-05 15:34 东爵 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 1 项目第二天 2 3 1.需求: 4 5 设置UITabBar 上按钮内容 => UITabBar上按钮内容对应的子控制器的tabBarItem (模型)决定 6 7 - tabBarController 的第0个子控制是导航控制器 8 - 如果想通过导航控制器的根控制器来设置tabBarItem上的内容:必须先设置图片,文字才能显示 9 - 所以建议... 阅读全文
posted @ 2016-09-05 15:32 东爵 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1 @interface ViewController () 2 @end 3 4 @implementation ViewController 5 6 - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 7 { 8 10 [NSThread detachNewThreadSele... 阅读全文
posted @ 2016-08-24 21:12 东爵 阅读(605) 评论(0) 推荐(0) 编辑
摘要: 1 @interface ViewController () 2 3 /** 线程 */ 4 @property(nonatomic,strong)NSThread *thread ; 5 @end 6 7 @implementation ViewController 8 - (IBAction)create:(id)sender { //从storyboard 中拖过程的按... 阅读全文
posted @ 2016-08-24 21:03 东爵 阅读(1155) 评论(0) 推荐(0) 编辑
摘要: 1 @interface ViewController () 2 3 4 5 /** 定时器对象 */ 6 7 @property(nonatomic,strong)dispatch_source_t timer; 8 9 @end 10 11 12 13 @implementation ViewController 14 15 16 17 - (v... 阅读全文
posted @ 2016-08-24 20:39 东爵 阅读(2059) 评论(0) 推荐(0) 编辑