开发者

Writing daemon in objective c

I need to write a daemon, much like windows service on os x using objective c. Can anyone point to some sample? or gu开发者_开发百科ide me about how to do this?


It's best to write your program in a way that lets it be run in the foreground, and then use external tools and techniques (such as OS X's launchd) to run them detached. This makes your program easier to test and integrate.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜