摘要: 一、如果要做比较耗时的操作的时候,就需要用到多线程。=========================NSObject方法=============================1.NSObject给我们提供了两个方法:[self performSelectorInBackground:@selector(big) withObject:nil];//给选择器一个方法,让这个方法在后台执行,不影响UI界面。 [self performSelectorOnMainThread:@selector(loadImageView:) withObject:image waitUntilDone:YE 阅读全文
posted @ 2013-12-28 00:38 nx的封装 阅读(359) 评论(0) 推荐(0) 编辑