随笔分类 -  iOS多线程

摘要:#import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; [sel... 阅读全文
posted @ 2015-08-10 15:58 汤冉阳 阅读(185) 评论(0) 推荐(0)
摘要:#import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; //[self... 阅读全文
posted @ 2015-08-10 15:54 汤冉阳 阅读(126) 评论(0) 推荐(0)
摘要:#import #import @interface MYOperation : NSOperation @end#import "MYOperation.h" @implementation MYOperation -(void)main { //不管是ARC还是MRC一定要用autor... 阅读全文
posted @ 2015-08-08 19:12 汤冉阳 阅读(313) 评论(0) 推荐(0)
摘要:#import @class MYOperation; @protocol MYOperationDelecate -(void)operationWithStr:(UIImage*)str; @end @interface MYOperation : NSOperation@proper... 阅读全文
posted @ 2015-08-08 19:05 汤冉阳 阅读(185) 评论(0) 推荐(0)
摘要:#import "ViewController.h" @interface ViewController () @property(nonatomic,strong)NSThread *thread1; @property(nonatomic,strong)NSThread *thread2; ... 阅读全文
posted @ 2015-08-08 18:42 汤冉阳 阅读(129) 评论(0) 推荐(0)