Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I've created a command line cocoa program which creates an NSDistributedNotification, which other applications send notifications to. How can i keep the program running in an active state so it can still receive NSDistributedNotifications

share|improve this question
You tagged this "daemon", which is the answer, so be more specific. – Josh Caswell Apr 6 '11 at 17:26
The guide given in the answer below seems to warn against using NSDistributedNotifications in favor of UNIX sockets. I am curious as to which one went with. – Raffi Khatchadourian Dec 13 '11 at 19:43

1 Answer

up vote 1 down vote accepted

I believe you are looking for Creating launchd Daemons and Agents on Mac OS X.

share|improve this answer
I don't see anything in this guide that mentions NSDistributedNotifications. – Raffi Khatchadourian Dec 13 '11 at 20:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.