Re: Bindings do not work in threads?
Re: Bindings do not work in threads?
- Subject: Re: Bindings do not work in threads?
- From: Julien Jalon <email@hidden>
- Date: Sat, 15 Oct 2005 01:27:59 +0200
You have to know that the Key-value change notification will happen in
the thread that changes the key. AppKit objects are just like any
other observers and I'm pretty sure they don't like that much.
More generally, you should always consider that KVO, bindings and
stuff are not thread-safe.
-- Julien
On 10/12/05, Theo Vosse <email@hidden> wrote:
> Hi,
>
> I've got an application that runs some evaluation in a thread (via
> detachNewThreadSelector). If that new thread updates a variable that
> has a binding in the (current) view (an NSTabViewItem), strange
> things happen.
_______________________________________________
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