Can NSNotification and NSRunLoop live together?
Can NSNotification and NSRunLoop live together?
- Subject: Can NSNotification and NSRunLoop live together?
- From: George Lawrence Storm <email@hidden>
- Date: Tue, 6 Dec 2005 17:26:13 -0800
I am in the process of converting a Cocoa application to a Foundation
Tool (Daemon).
Everything works well as a Cocoa application.
Converting to a Foundation Tool is working fine for everything EXCEPT
for NSNotification. I note that in tn2050 they state that "whenever
an application is launched or terminated it needs to connect to the
window server". I assume that this extends to all other
NSNotification events.
If that is the case is there a way of either adding a window server
to NSRunLoop or of making a traditional Cocoa app behave as a UNIX
tool (Daemon) and be recognized from the UNIX command line?
SORRY I AM NOT A UNIX PERSON.
-----
George Lawrence Storm
Macintosh Applications Development
Edmonds (Seattle), Washington
E-mail: <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden