用 NSInvocationOperation创建线程 需加什么framework么
NSInvocationOperation* theOp = [[NSInvocationOperation alloc] initWithTarget:self selector:@selector(myTaskMethod:) object:data];
[[MyAppDelegate sharedOperationQueue] addOperation:theOp];
为什么sharedOperationQueue这个方法显示not found ,是需要加什么framework么,还是其他的什么东西。
[解决办法]
sharedOperationQueue 这个是整个APP的Singleton对象啊 。
和framework诶关系。