Re: Using NSTimer to call the main thread
Re: Using NSTimer to call the main thread
- Subject: Re: Using NSTimer to call the main thread
- From: Peter Robinson <email@hidden>
- Date: Fri, 28 Mar 2003 11:51:48 +0000
At 10:35 am -0800 27/3/03, email@hidden wrote:
On Thu, 27 Mar 2003 10:34:31 -0800 (PST), Peter Robinson wrote:
> I am trying to communicate with the main thread in order to update
> the user interface.
wouldn't be equally possible to pass a reference to the UI controller to the
secondary thread and then call updateValueNow: directly from the secondary
thread when need be?
That would be very easy, but unfortunately, it is not legal to update
the UI from a secondary thread.
Regards,
Peter
_______________________________________________
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.