performSelectorOnMainThread
performSelectorOnMainThread
- Subject: performSelectorOnMainThread
- From: Luc Vandal <email@hidden>
- Date: Wed, 26 Oct 2005 11:02:47 -0400
Hi,
I have a question regarding performSelectorOnMainThread. If I do:
[myObject performSelectorOnMainThread:@selector(myFunction:)
withObject:nil waitUntilDone:YES], does that mean that myFunction
from myObject will be executed?
If so, I tried that and the app will just hang on
performSelectorOnMainThread. My function will never get called. If I
set waitUntilDone:NO, then my function will eventually get called. Is
it a problem with my secondary thread?
I'm confused..
Luc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden