• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Drawing from secondary thread erases resize corner in window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Drawing from secondary thread erases resize corner in window?
      • From: Chris Suter <email@hidden>
    • Re: Drawing from secondary thread erases resize corner in window?
      • From: j o a r <email@hidden>
References: 
 >Drawing from secondary thread erases resize corner in window? (From: Hank Heijink <email@hidden>)

  • Prev by Date: Re: programmatically placing GUIs
  • Next by Date: Re: Charting API?
  • Previous by thread: Re: Drawing from secondary thread erases resize corner in window?
  • Next by thread: Re: Drawing from secondary thread erases resize corner in window?
  • Index(es):
    • Date
    • Thread