performSelector:onThread breaks runloop?
问题 I'm not sure how to use the API performSelector:onThread and I need some suggestions here. As far as I known, I need a runloop to make the call of performSelector:onThread , so I made one. But then I find a problem : once I called performSelector:onThread , the runloop stops. Here 's my test code, runloop is in function kickOffThread . - (void)setCurrentThread { self.thread = [NSThread currentThread]; } - (void)kickOffThread { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; [self