• 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
handling idle events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

handling idle events


  • Subject: handling idle events
  • From: "Jim Crafton" <email@hidden>
  • Date: Tue, 5 Aug 2008 22:16:09 -0400

Is there a way to handle idle time in an NSApplication? In Win32 or
Carbon, since you manually write the actual while loop that processes
the events, this is pretty easy to do. Is there anything like this in
Cocoa? I've got some objects whose state (possibly) needs to be
updated, and I was planning on handling this in the "idle" handler.

My other idea, if this is not possible, would be to simply have a
timer that fires off every 0.5 seconds or so.

Thanks

Jim C
_______________________________________________

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: handling idle events
      • From: "Michael Ash" <email@hidden>
    • Re: handling idle events
      • From: Negm-Awad Amin <email@hidden>
    • Re: handling idle events
      • From: chaitanya pandit <email@hidden>
    • Re: handling idle events
      • From: Jonathan Hess <email@hidden>
  • Prev by Date: Re: Bindings to display an NSArray of NSStrings as a single NSString?
  • Next by Date: post events to NSApplication
  • Previous by thread: control user interface of an external application
  • Next by thread: Re: handling idle events
  • Index(es):
    • Date
    • Thread