摘要: #import "UIImageView+WebCache.h"@interface WeatherViewController ()@end@implementation WeatherViewController- (void)viewDidLoad { [super viewDidLoa... 阅读全文
posted @ 2015-12-16 16:47 death3721 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 第三方库CocoaPodCocoaPod并不是iOS上的第三方库 而是大名鼎鼎的第三方库的管理工具在CocoaPod没有出现之前 第三方库的管理是非常痛苦的 尤其是一些大型的库(比如nimbus) 每次对库进行更新 都可能会非常的痛苦CocoaPod的出现解决了这些问题 以Framework的方式引... 阅读全文
posted @ 2015-12-16 16:17 death3721 阅读(204) 评论(0) 推荐(1) 编辑
摘要: 1.基础框架的搭建1.1 pod引入常用的第三方类库1.2 创建基础文件夹结构/目录结构Resource———存放声音/图片/xib/storyboard 等资源文件Define——宏定义, 常用的常量/常用的方法Category——类别, 主要是对第三方框架的封装/对系统类的方法的额外增加View... 阅读全文
posted @ 2015-12-16 13:16 death3721 阅读(128) 评论(0) 推荐(0) 编辑
摘要: #pragma mark 实现NSURLSessionDataDelegate代理@interface ViewController (){ UIButton* sessionPostButton; UIButton* sessionDelegatePostButton; UITa... 阅读全文
posted @ 2015-12-16 13:03 death3721 阅读(330) 评论(0) 推荐(0) 编辑
摘要: @interface ViewController (){ UIButton* getButton; UIButton* postButton; UITableView* table; NSMutableArray* array;}@end@implementation Vi... 阅读全文
posted @ 2015-12-16 09:45 death3721 阅读(194) 评论(0) 推荐(0) 编辑