Re: advice on background process
Re: advice on background process
- Subject: Re: advice on background process
- From: Jerry Krinock <email@hidden>
- Date: Sun, 14 Jun 2009 18:01:06 -0700
On 2009 Jun 14, at 09:48, Michael Ash wrote:
On Sun, Jun 14, 2009 at 7:19 AM, Rick C.<email@hidden> wrote:
my project is fairly small and it monitors via notification certain
directories for changes.
The most obvious way to do this would be to just have two
applications. One is an LSUIElement which does the monitoring and any
UI type stuff that's done during that, and the other is a regular
application which talks to it.
Yes, split it into two as Mike recommends, but if that monitoring
app's sole function is to watch certain directories for changes and
you're requiring Mac OS 10.4 or later, you're in luck.
"Monitoring ... certain directories for changes" can be performed by
installing a launchd task. So you only need one app. Read:
http://developer.apple.com/MacOsX/launchd.html
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden