On 2009 Jun 14, at 09:48, Michael Ash wrote:

On Sun, Jun 14, 2009 at 7:19 AM, Rick C.<jo_p...@yahoo.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to