2015年12月13日
摘要: - (void)delay1{// 延迟执行不要用sleep,坏处:卡住当前线程[NSThread sleepForTimeInterval:3];NSLog(@"操作");}- (void)delay2{// 一旦定制好延迟任务后,不会卡主当前线程[self performSelector:@se... 阅读全文
posted @ 2015-12-13 19:38 十一点前要睡觉的小寒 阅读(246) 评论(0) 推荐(0) 编辑