FROM : I. Savant
DATE : Fri Apr 27 16:28:41 2007
On 4/27/07, hac <<email_removed>> wrote:
> Thanks Kirk. :) I'm pretty sure that's what I need, but I'm still
> stuck. I have a document based app where each document needs to be
> able to add to one central log window. Does anyone know how I can make
> the connection required for this? I've been fine with Ist Responder
> for now, but it only works with actions, and the log text will vary...
> Could someone please point me in the right direction?
The simplest solution would be to create an app delegate and wire it
up. Create an outlet to a "LogController" and connect it. Then you can
say:
[[NSApp myLogController] logThis:someString];
... from anywhere in your app (including documents).
--
I.S.
DATE : Fri Apr 27 16:28:41 2007
On 4/27/07, hac <<email_removed>> wrote:
> Thanks Kirk. :) I'm pretty sure that's what I need, but I'm still
> stuck. I have a document based app where each document needs to be
> able to add to one central log window. Does anyone know how I can make
> the connection required for this? I've been fine with Ist Responder
> for now, but it only works with actions, and the log text will vary...
> Could someone please point me in the right direction?
The simplest solution would be to create an app delegate and wire it
up. Create an outlet to a "LogController" and connect it. Then you can
say:
[[NSApp myLogController] logThis:someString];
... from anywhere in your app (including documents).
--
I.S.
| Related mails | Author | Date |
|---|---|---|
| hac | Apr 24, 22:59 | |
| Keary Suska | Apr 25, 02:56 | |
| Uli Kusterer | Apr 25, 10:34 | |
| Keary Suska | Apr 25, 21:42 | |
| hac | Apr 27, 16:25 | |
| I. Savant | Apr 27, 16:28 |






Cocoa mail archive

