Re: main loop and idle function
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.