Re: TextViews update from NSThread
Re: TextViews update from NSThread
- Subject: Re: TextViews update from NSThread
- From: Ondra Cada <email@hidden>
- Date: Tue, 11 Sep 2001 09:52:24 +0200
Louis,
>
>>>>> Louis Demers (LD) wrote at Tue, 11 Sep 2001 01:31:07 -0400:
LD> is there anything special I need to do to update TextViews and Text
LD> Fields from an NSThread. Currently, my problems are erratic
LD> incomplete updates, and sometimes, it even display characters in
LD> bold (as if slightly offset) ?
The safe way is to resort to just _main_ thread controlling GUI, with all
other threads asking it to perform all needed operations through DO.
Perhaps using the NSApplication's detachDrawingThread:toTarget:withObject:
would help, too.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc