摘要: ISO UI基础控件.................................................................................................................................................................................. 21. UILabel——标签................................................................................................ 阅读全文
posted @ 2013-11-07 10:56 林源 阅读(1173) 评论(0) 推荐(0) 编辑

2015年5月24日

摘要: 运行时机制,runtime库里面包含了跟类、成员变量、方法相关的API,比如获取类里面的所有成员变量,为类动态添加成员变量,动态改变类的方法实现,为类动态添加新的方法等 需要导入1.是什么1> runtime是一套比较底层的纯C语言API, 属于1个C语言库, 包含了很多底层的C语言API2> 平时... 阅读全文
posted @ 2015-05-24 09:51 林源 阅读(888) 评论(0) 推荐(0) 编辑

2015年3月19日

摘要: 阅读全文
posted @ 2015-03-19 15:08 林源 阅读(152) 评论(0) 推荐(0) 编辑

2015年3月3日

摘要: 在uicollectioview有弹簧效果必须天添加self.collectionView.alwaysBounceVertical = YES; 阅读全文
posted @ 2015-03-03 16:35 林源 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 提交svn import/Users/apple/Desktop/Testsvn://115.128.114.117/naitang/ios.mobile/ZeZeCommunity --username=changxiaoshuai--password=f4ZYO8FU9mH6N1C9A0hf3-... 阅读全文
posted @ 2015-03-03 16:31 林源 阅读(271) 评论(0) 推荐(0) 编辑
摘要: NSLog(@"globallyUniqueString=%@",[[NSProcessInfoprocessInfo]globallyUniqueString]);//全球唯一标识NSLog(@"uniqueIdentifie=%@",[UIDevicecurrentDevice].uniqueI... 阅读全文
posted @ 2015-03-03 16:27 林源 阅读(127) 评论(0) 推荐(0) 编辑

2014年10月24日

摘要: ASI和AFN有什么区别1.性能(重点)* ASI基于底层的CFNetwork框架* AFN基于NSURLConnection* 运行性能: ASI > ASN2.处理服务器数据1> AFN : 根据服务器返回数据的数据, 进行自动解析* 服务器返回的是JSON数据, 自动转换为NSDictiona... 阅读全文
posted @ 2014-10-24 15:32 林源 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 1.Reachability// 监听网络状态改变的通知[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(networkStateChange) name:kReachabilityChangedNot... 阅读全文
posted @ 2014-10-24 15:31 林源 阅读(1229) 评论(0) 推荐(0) 编辑
摘要: 1 五.AFN 2 1.GET\POST 3 1> GET请求 4 // 1.获得请求管理者 5 AFHTTPRequestOperationManager *mgr = [AFHTTPRequestOperationManager manager]; 6 7 // 2.封装请求参数 8 NSM... 阅读全文
posted @ 2014-10-24 15:29 林源 阅读(952) 评论(0) 推荐(0) 编辑
摘要: 1 一NSURLCache 2 缓存的使用步骤 3 // 获得全局的缓存对象 4 NSURLCache *cache = [NSURLCache sharedURLCache]; 5 6 // 设置缓存容量 7 cache.memoryCapacity = 1024 * 1024;... 阅读全文
posted @ 2014-10-24 15:25 林源 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 1 一、NSURLConnection 2 1.发送请求 3 1> 发送一个同步请求 4 + (NSData *)sendSynchronousRequest:(NSURLRequest *)request returningResponse:(NSURLResponse **)response ... 阅读全文
posted @ 2014-10-24 15:23 林源 阅读(205) 评论(0) 推荐(0) 编辑

导航