2017年6月16日
摘要: - (NSString *)systemVersion{ if(_systemVersion==nil) { _systemVersion = [[UIDevice currentDevice] systemVersion]; } return _systemVersion; } - (NSStri 阅读全文
posted @ 2017-06-16 10:45 1018475062 阅读(125) 评论(0) 推荐(0)
摘要: will If you tell him truth, he will get angry. // 当事人的主观感受 be going to I'm am going to have an interview tomorrow ... be late // 打算 根据自己的判断 下面即将发生的事情 阅读全文
posted @ 2017-06-16 10:44 1018475062 阅读(584) 评论(0) 推荐(0)
摘要: I've been ringing her for 10 minutes. I'm exhausted. i've been painting the bookcase all day. Don't disturb me. I've been writting letters for three h 阅读全文
posted @ 2017-06-16 10:16 1018475062 阅读(160) 评论(0) 推荐(0)
摘要: 现在进行时与过去进行时对比 I live in the country I'm living in the country. 长期 行为 短暂的行为 I read newspapers in the morning. I am reading newspapers in the morning. 长 阅读全文
posted @ 2017-06-16 10:04 1018475062 阅读(691) 评论(0) 推荐(0)
  2017年6月15日
摘要: - (void)viewDidLoad { [super viewDidLoad]; // 如果要设置请求体 NSURLSession *session = [NSURLSession sharedSession]; NSMutableURLRequest *request = [NSMutable 阅读全文
posted @ 2017-06-15 23:37 1018475062 阅读(247) 评论(0) 推荐(0)
摘要: #import "ViewController.h" @interface ViewController ()<NSURLConnectionDataDelegate> @property (nonatomic, assign) CFRunLoopRef runLoop;// 保持同一个线程 C语言 阅读全文
posted @ 2017-06-15 22:26 1018475062 阅读(325) 评论(0) 推荐(0)
摘要: #import "ViewController.h" @interface ViewController ()<NSURLConnectionDataDelegate> @property (nonatomic, strong) NSOutputStream *stream; // 全局,每次下载的 阅读全文
posted @ 2017-06-15 21:33 1018475062 阅读(166) 评论(0) 推荐(0)
摘要: NSDictionary *result = value[@"data"]; if (![result isKindOfClass:[NSDictionary class]]) { NSLog(@"data 不是字典"); if ([result isKindOfClass:[NSString cl 阅读全文
posted @ 2017-06-15 18:01 1018475062 阅读(965) 评论(0) 推荐(0)
摘要: x_button = x_space + line * (x_space + buttonWidth); y_button = y_space + row * (y_margin + buttonHeight); NSString *title = dicArray[i][@"title"]; NS 阅读全文
posted @ 2017-06-15 16:48 1018475062 阅读(117) 评论(0) 推荐(0)
摘要: #define PUSH(controller) [self.navigationController pushViewController:controller animated:YES] #define HHPOP [self.navigationController popViewContro 阅读全文
posted @ 2017-06-15 14:09 1018475062 阅读(201) 评论(0) 推荐(0)