Re: Loosing threads in cocoa
Re: Loosing threads in cocoa
- Subject: Re: Loosing threads in cocoa
- From: sinclair44 <email@hidden>
- Date: Thu, 08 May 2003 20:20:31 -0400
On 5/8/03 7:02 AM, "Jean-Olivier Lancttt-D." <email@hidden>
wrote:
>
BTW, watch out, don't use AppKit objects in another thread (do it in
>
the main thread, or use DO).
I've always heard this but have never been told why you shouldn't. I've got
a worker thread in an app that simply calls [textField
setStringValue:@"DONE"]; right before terminating; is this bad?
Thanks.
--
-- sinclair44
[self becomeWorldDictator];
- (void)becomeWorldDictator
{
[self coverLegalButt];
[[GeorgeBush principalClass] assassinate:[world currentLeaders]];
[[BinLaden principalClass] terrorize:[world citizens]];
[world setCurrentLeaders:[NSArray arrayWithObject:self]];
}
- (void)coverLegalButt
{
/* The above does not reflect any plans, expressed or implied, real or
imaginative, to kill or assassinate anyone, or to harm anyone in any shape,
way or form. Any relation to actual events is purely coincidental. */
}
_______________________________________________
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.