• 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? [solved, for now]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing from secondary thread erases resize corner in window? [solved, for now]


  • Subject: Re: Drawing from secondary thread erases resize corner in window? [solved, for now]
  • From: Nate Weaver <email@hidden>
  • Date: Thu, 28 Feb 2008 13:56:50 -0600

On Feb 28, 2008, at 1:49 PM, Hank Heijink wrote:


On Feb 28, 2008, at 1:46 PM, Nate Weaver wrote:

You could also use [[NSRunLoop mainRunLoop] addTimer:yourTimer forMode:NSEventTrackingRunLoopMode] and avoid another thread altogether.


Interesting... I hadn't thought of that. Don't I have to add another timer to the NSDefaultRunLoopMode though? If I have to chose between having two timers on the main thread that alternate, or one on a secondary thread, I think I'll go with the extra thread.

I don't believe so; I've used it in an app of my own with a single timer to avoid the same issue you're having, with no apparent ill effects.
_______________________________________________


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: Hank Heijink <email@hidden>
References: 
 >Re: Drawing from secondary thread erases resize corner in window? [solved, for now] (From: Nate Weaver <email@hidden>)
 >Re: Drawing from secondary thread erases resize corner in window? [solved, for now] (From: Hank Heijink <email@hidden>)

  • Prev by Date: Re: cascading windows in document architecture
  • Next by Date: Re: - outlineView:willDisplayCell:forTableColumn:item: and selected item
  • Previous by thread: Re: Drawing from secondary thread erases resize corner in window? [solved, for now]
  • Next by thread: Re: Drawing from secondary thread erases resize corner in window?
  • Index(es):
    • Date
    • Thread