Re: setNeedsDisplay: thread safe?
Re: setNeedsDisplay: thread safe?
- Subject: Re: setNeedsDisplay: thread safe?
- From: "Mike R. Manzano" <email@hidden>
- Date: Thu, 8 Apr 2004 15:32:34 -0700
So, from an auxiliary thread, something like
[ myView performSelectorOnMainThread:@selector( setNeedsDisplay: )
withObject:YES
waitUntilDone:NO ] ;
Is "YES" a valid object to be passing?
Thanks,
Mike
On Apr 8, 2004, at 3:09 PM, lbland wrote:
Is NSView's setNeedsDisplay: thread safe? Can I safely assume that
setNeedsDisplay: will return immediately, and not use the calling
thread to execute the drawing code?
performSelectorOnMainThread:withObject:waitUntilDone
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.