• 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: "Rick C." <email@hidden>
  • Date: Wed, 17 Jun 2009 05:58:21 -0700 (PDT)

hello again,

i've had some time to work on this and just to follow up with a couple things.  first the launchd task can tell me if there was a change but it seems there's no way to find out what that change was right?  it seems i could use this to launch my app but then if i have no way to screen what the changes might be then i would have to launch my app every time there's a change to see what it is.  as for the transformProcessType it seems to work actually but is there a way to transform back to the "hidden" state?

thanks again for the input,

rick





________________________________
From: Jerry Krinock <email@hidden>
To: cocoa-dev <email@hidden>
Sent: Monday, June 15, 2009 9:01:06 AM
Subject: Re: advice on background process


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




_______________________________________________

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: Jerry Krinock <email@hidden>
References: 
 >advice on background process (From: "Rick C." <email@hidden>)
 >Re: advice on background process (From: Michael Ash <email@hidden>)
 >Re: advice on background process (From: Jerry Krinock <email@hidden>)

  • Prev by Date: [iPhone] (follow-up) Strange behavior with modal view controllers
  • Next by Date: Arranging NSStrings in a Table column
  • Previous by thread: Re: advice on background process
  • Next by thread: Re: advice on background process
  • Index(es):
    • Date
    • Thread