Re: Drawing from secondary thread erases resize corner in window?
Re: Drawing from secondary thread erases resize corner in window?
- Subject: Re: Drawing from secondary thread erases resize corner in window?
- From: "Kyle Sluder" <email@hidden>
- Date: Wed, 27 Feb 2008 18:54:26 -0500
On Wed, Feb 27, 2008 at 2:40 PM, Hank Heijink <email@hidden> wrote:
> I have a window with a custom view that occupies the entire window, so
> the little resize corner in the lower right is within the bounds of
> the view. I noticed that when I draw into the window from the main
> thread (i.e. the usual way) that resize corner is redrawn when the
> view is redrawn. However, when I update the view from another thread,
> that doesn't happen. What am I missing?
Do not use AppKit from any thread other than your main thread. It is
not thread-safe.
--Kyle Sluder
_______________________________________________
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