• 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: main loop and idle function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: main loop and idle function


  • Subject: Re: main loop and idle function
  • From: email@hidden
  • Date: Sat, 23 Feb 2002 13:25:53 -0800

I just searched for 1.5 hour in the docs, but didn't find what I was
looking for. I want NSApp to call a special function when the app is
idle. I searched for a Notification name for the event, but didn't found
one. Any help will be appreciated. If there isn't such a function, is it
possible to implement my own event processing loop like [NSApp run], so
I can use the idle time?

Hmm. Depending upon what you mean by "idle", you might find NSNotificationQueue's ability to post a notification on idle to be what you're looking for. See the NSNotificationQueue doc in Foundation.

Ben Haller
Stick Software
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: number formatting
  • Next by Date: Re: number formatting
  • Previous by thread: Re: main loop and idle function
  • Next by thread: Re: main loop and idle function
  • Index(es):
    • Date
    • Thread