• 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: Finding application's idle time?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding application's idle time?


  • Subject: Re: Finding application's idle time?
  • From: Ali Ozer <email@hidden>
  • Date: Tue, 22 Nov 2005 08:29:02 -0800

NSNotificationQueue provides a mechanism to post notifications when the runloop is idle. It happens immediately though.
Ali




Begin forwarded message:

From: Jonathan del Strother <email@hidden>
Date: November 22, 2005 2:38:20 PST
To: Cocoa-Dev Mail <email@hidden>
Subject: Finding application's idle time?

I need to know how long it is since my app received user input (mouse clicks or keyboard), so I can trigger an idle behaviour mode.

Is there any inbuilt way of doing so, or am I best to just create a new timer on each user event? Is there a bottleneck anywhere that gets called on all user events, so I could do this in one place only?

Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Finding application's idle time? (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: Re: Finding application's idle time?
  • Next by Date: CIImage slower than NSImage?
  • Previous by thread: Re: Finding application's idle time?
  • Next by thread: Copy an NSImage to another, keeping the color profile
  • Index(es):
    • Date
    • Thread