> You are correct. They are two different things: Alright, does the following assertion fail when placed before the -performSelectorOnMainThread line? (Ignore the warning - using private APIs.)
id a = (id)[[[NSThread mainThread] runLoop] getCFRunLoop]; id b = (id)CFRunLoopGetMain(); NSLog(@"%p ?== %p", a, b); assert(a == b); [anObject performSelectorOnMainThread: ...] Please respond with the output of the NSLog line too. The assertion succeeds in my own test app. I'm guessing it fails/crashes in yours. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com