• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: advice on background process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: advice on background process
      • From: "Rick C." <email@hidden>
    • Re: advice on background process
      • From: "Rick C." <email@hidden>
References: 
 >advice on background process (From: "Rick C." <email@hidden>)
 >Re: advice on background process (From: Michael Ash <email@hidden>)

  • Prev by Date: Re: How can I keep an NSPopUpButton open after the user selects a menu item?
  • Next by Date: Re: Questions on using using modal sheets with Core Data
  • Previous by thread: Re: advice on background process
  • Next by thread: Re: advice on background process
  • Index(es):
    • Date
    • Thread