标签:
1.NSThread
先创建,后启动
NSThread *thread = [NSThread allc] initWithTarget:self selector:@selector(run) object:nil]; [thread start];
直接启动
2.GCD
3.NSOperation
IOS中的多线程实现:NSThread、GCD和NSOperation
标签:
原文地址:http://www.cnblogs.com/ddhjy/p/4821933.html