摘要: 第四天:目标:获得微博首页数据1.获取微博内容,检验是否获得数据,字典转模型,闭包回传字典数据,传数据,刷新表格2.扩展类里面,实现首页两个数据源方法和协议方法,重用 cell 的时候注册 cell,先注册,再更新数据,取出用户所用数据,并将用户数据字典转模型3.分析微博首页,看不同微博的布局,设计... 阅读全文
posted @ 2015-11-14 18:07 菜鸟boy 阅读(133) 评论(0) 推荐(0) 编辑
摘要: UIApplication *app = [UIApplication sharedApplication]; // 根据用户版本,获取用户权限 if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8) { UIUs... 阅读全文
posted @ 2015-11-11 01:48 菜鸟boy 阅读(123) 评论(0) 推荐(0) 编辑
摘要: image = [image imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]; 阅读全文
posted @ 2015-11-11 01:47 菜鸟boy 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 新增Key:NSLocationAlwaysUsageDescription和NSLocationWhenInUseUsageDescription,这两个Key的值将分别用于描述应用程序始终使用和使用期间使用定位的说明,这些说明将显示在用户设置中。 阅读全文
posted @ 2015-11-11 01:46 菜鸟boy 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 显示Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool true隐藏Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool false或者显... 阅读全文
posted @ 2015-11-11 01:45 菜鸟boy 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 什么是 block1.提前准备好的一段可以执行的代码2.block 可以当做参数传递3.在需要的时候执行 block4,block 中使用 self 时肯产生循环引用block 做网络异步耗时操作 回调用 阅读全文
posted @ 2015-11-11 01:44 菜鸟boy 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 大晚上装CocoaPods出现错误坑爹[!] Pod::Executable clone 'https://github.com/CocoaPods/Specs.git' masterxcrun: error: active developer path ("/Users/xiakejie/工具/X... 阅读全文
posted @ 2015-11-11 01:41 菜鸟boy 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-05-28 08:35 菜鸟boy 阅读(1911) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-05-28 08:31 菜鸟boy 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-05-28 08:27 菜鸟boy 阅读(195) 评论(0) 推荐(0) 编辑