Obj-C and Background/Daemon Application Question

Tom Jones tjones at acworld.com
Thu Feb 28 22:52:14 PST 2008


Thanks, I read the Technote and I have to agree I see nothing wrong  
with using Obj-C, as long as there is no window server interaction. I  
did get a copy of "Advanced Mac OS X Programming" and that has been a  
very interesting read. From someone really learning Obj-C, I was  
expecting more Obj-C and more explanations.

Well in some round about way my question was answered, I will stick to  
using C code since the examples and documentation are much more  
plentiful. I really have yet to find a really good examples and docs  
on doing it with Obj-C.

Thanks again,
tom


On Feb 24, 2008, at 2:09 PM, Rainer Brockerhoff wrote:

> At 12:00 -0800 24/02/08, macosx-dev-request at omnigroup.com wrote:
>> Date: Sun, 24 Feb 2008 18:48:53 +0100
>> From: Markus Hitter <mah at jump-ing.de>
>> Message-ID: <984EF834-FE03-476A-9668-F3322ABAE1F9 at jump-ing.de>
>>
>>
>> Am 24.02.2008 um 18:32 schrieb j o a r:
>>> On Feb 24, 2008, at 4:58 PM, objectwerks inc wrote:
>>>
>>>> Why is that?  I have done plenty of things in Cocoa (no AppKit)
>>>> that run as daemons or background tasks.   What is inappropriate
>>>> about it?
>>>
>>> That's explained in that technote, see: "Living Dangerously".
>>
>> Foundation is explicitely marked as "daemon-safe" there.
>
> Also, a per-user launch agent running in an "Aqua" session can be a  
> standard Cocoa app with no problems.
>
> -- 
> Rainer Brockerhoff  <rainer at brockerhoff.net>
> Belo Horizonte, Brazil
> "In the affairs of others even fools are wise
> In their own business even sages err."
> Weblog: http://www.brockerhoff.net/bb/viewtopic.php
> _______________________________________________
> MacOSX-dev mailing list
> MacOSX-dev at omnigroup.com
> http://www.omnigroup.com/mailman/listinfo/macosx-dev



More information about the MacOSX-dev mailing list