Re: Getting key events when the program is in the background?
Re: Getting key events when the program is in the background?
- Subject: Re: Getting key events when the program is in the background?
- From: Finlay Dobbie <email@hidden>
- Date: Sat, 29 Jun 2002 23:13:55 +0100
On Saturday, June 29, 2002, at 10:22 PM, Pierre-Olivier Latour wrote:
What's the best way to create a background only app in Cocoa i.e. a
deamon?
I set "NSBGOnly" to 1 in the info.plist and it works fine, but should it
still be a .app bundle, or should I change the extension?
It should still be .app, but NSBGOnly is deprecated in favour of
LSBackgroundOnly, I think (only the latter is documented, anyhow). Or,
if you want a true daemon, see "MyFirstDaemon" sample at
developer.apple.com/samplecode
-- Finlay
_______________________________________________
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.