Re: NSTextView won't update via NSThread
Re: NSTextView won't update via NSThread
- Subject: Re: NSTextView won't update via NSThread
- From: Ken Thomases <email@hidden>
- Date: Fri, 6 Nov 2009 04:09:51 -0600
On Nov 5, 2009, at 6:20 AM, Dalton Hamilton wrote:
Does anyone have any idea why NSTextView won't update when the code
is a thread?
Yes, because Cocoa generally doesn't support manipulating the GUI from
any thread other than the main thread.
Read through this:
http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/Multithreading/Introduction/Introduction.html
Regards,
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden