• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can NSNotification and NSRunLoop live together?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: Re: Saving C++ based data structures
  • Next by Date: Re: Saving C++ based data structures
  • Previous by thread: Re: CoreRecipeApp sample broken after 10.4.3 update
  • Next by thread: Drag-And-Drop magic of copy vs. move (green "plus" sign magic)(in the context of NSOutlineView)
  • Index(es):
    • Date
    • Thread