随笔 - 399,  文章 - 0,  评论 - 7,  阅读 - 21万

随笔分类 -  OC 网络请求

网络请求 步骤
摘要:https://blog.csdn.net/ccflying88/article/details/50893639 阅读全文
posted @ 2018-09-17 10:38 懂事长qingzZ 阅读(258) 评论(0) 推荐(0) 编辑
iOS - OC - XML 解析 - NSXMLParser
摘要://4.解析数据 //4.1 创建XML解析器:SAX NSXMLParser *parser = [[NSXMLParser alloc]initWithData:data]; //4.2 设置代理 parser.delegate = self; //4.3 开始... 阅读全文
posted @ 2018-07-12 10:46 懂事长qingzZ 阅读(223) 评论(0) 推荐(0) 编辑
iOS - OC - JSON 解析 - NSJSONSerialization
摘要:1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 9 -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 10... 阅读全文
posted @ 2018-07-11 11:58 懂事长qingzZ 阅读(422) 评论(0) 推荐(0) 编辑
iOS - OC - 网络请求 - 中文转码
摘要:1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 9 #pragma mark ---------------------- 10 #pragma mark Events 11 -(void)touches... 阅读全文
posted @ 2018-07-11 10:32 懂事长qingzZ 阅读(552) 评论(0) 推荐(0) 编辑
OC -网络请求 - NSURLConnection - POST
摘要:1 #import "ViewController.h" 2 3 @interface ViewController () 4 5 @end 6 7 @implementation ViewController 8 -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 9 { 10 [sel... 阅读全文
posted @ 2018-07-10 19:49 懂事长qingzZ 阅读(479) 评论(0) 推荐(0) 编辑
OC -网络请求 - NSURLConnection - GET
摘要:1 #import "ViewController.h" 2 3 @interface ViewController () 4 /** 注释 */ 5 @property (nonatomic, strong) NSMutableData *resultData; 6 @end 7 8 @implementation ViewController 9 ... 阅读全文
posted @ 2018-07-10 19:43 懂事长qingzZ 阅读(293) 评论(0) 推荐(0) 编辑


< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示