Background application
Background application
- Subject: Background application
- From: Sujal Shah <email@hidden>
- Date: Wed, 02 Jul 2003 12:25:31 -0400
I'm working on an application that I need some advice on. Essentially,
I'm writing a background application that occaisionally checks a site on
the network to see if some content is available. Right now, it
downloads it to a folder.
As I've written it now, it is using CoreFoundation and I'm just using
the CFRunLoop. I now want to add a GUI component that notifies the user
instead of just updating the local files. I was planning on adding a
NSStatusItem to the status bar to let the user know that the file was
updated and offer them some menu options.
I'm unsure about the following items.
First, can I use a nib to create the status item? I don't see a palette
item, so the answer seems to be no. How about the menu?
The main issue now is how to create the cocoa APIs from the CF app. Are
there any pointers on setting up the Autorelease pool? Is there
anything else that I need to do to efficiently deal with Cocoa api calls
from within my CFRunLoop?
Up until now, all the apps I've written to learn the APIs have used
NSApplicationMain and hidden all these details. This is the first
non-GUI application I've written so this is very new to me.
Any suggestions?
Thanks,
Sujal
--
---- Sujal Shah --- email@hidden ---
http://www.fatmixx.com
Now Playing: none
_______________________________________________
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.