iPhone:无法识别的选择器错误
|
我正在处理一些这样的任务:
RootViewController
- (void)viewDidLoad {
[NSThread detachNewThreadSelector:@selector(findSomething) toTarget:self withObject:nil];
}
- (void) findSomething {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
doMoreThings
[pool release];
}
- (void) doMoreThings {
doMoreMoreMoreThings on different objects
}
- (void) foundSomething:(NSFoundThing*)foundObj {
do your stuff
}
一个对象
- (void) doMoreMoreMoreThings {
do things
[self performSelectorOnMainThread:@selector(foundSomething:) withObject:thingFound waitUntilDone:NO];
}
给
-[KMLParser foundSomething:]: unrecognized selector sent to instance 0x5888080
问题是什么 ?
没有找到相关结果
已邀请:
1 个回复
春驹晴陪