Re: Re: Threads
Re: Re: Threads
- Subject: Re: Re: Threads
- From: Alf Watt <email@hidden>
- Date: Sun, 24 Jul 2005 20:21:27 -0700
Ok. performSelectorOnMainThread: did the trick. So, now, for
educational purpose, what is the intended use of this pair of
methods then ? (lockFocusIfCanDraw, and unlockFocus) ?
--
Laurent
It's for NSView subclasses which want to perform drawing operations
in a separate thread. You might do this when drawing to an offscreen
window or when monitoring the output of secondary threads. There is a
paragraph about it in the Cocoa Thread Safety page, search for 'NSView':
http://developer.apple.com/documentation/Cocoa/Conceptual/
Multithreading/articles/CocoaSafety.html
Best,
Alf
_______________________________________________
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