Am 31.05.2009 um 12:12 schrieb Jelle De Laender:
Can you give us so more details? For example: What will the app do?
Your description is very strange, lol.

But indeed, you should create a normal cocoa app that do the stuff you want to do (UI + the real stuff), and a little daemon that checks every X minutes if the other app is running:
        yes: ok, continue
        no: start app (log message? App was stopped)


Look at CFNotification and the distributed notification center (I thought there was a Cocoa variant of that, but I can't seem to find it) for a way to detect whether your app has hung. You could just do a ping/pong set of question/reply notifications that your daemon sends to your app and gets a reply. If the app is still running but there's no reply within a sensible timeframe, something has gone wrong.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de





_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to