Threads and autoreleasepool questions
问题 As I understand there are several ways to send tasks to be performed in threads. The most common ones that I use are: 1) performSelector:withObject:afterDelay: 2) performSelectorOnMainThread:withObject:waitUntilDone: 3) performSelectorInBackground:withObject: 4) [NSThread detachNewThreadSelector:toTarget:withObject:] My first question is, what is the difference between 1) and 2), besides the obvious parameter differences? Are they actually both working in the Main thread (whose autorelease