objective c - Best way to know if application is inactive in cocoa mac OSX? -


so, building program stand on exhibition public usage, , got task make inactive state it. display random videos folder on screen, screensaver in application.

so best , proper way of checking if user inactive?

what thinking kind of global timer gets reset on every user input , if reaches lets 1 minute goes inactive mode. there better ways?

have @ this article covering use of iokit read users idle time iohid.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -