Skip navigation.
 
mlRe: Simple Interface Connection Question
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.

Related mailsAuthorDate
mlSimple Interface Connection Question hac Apr 24, 22:59
mlRe: Simple Interface Connection Question Keary Suska Apr 25, 02:56
mlRe: Simple Interface Connection Question Uli Kusterer Apr 25, 10:34
mlRe: Simple Interface Connection Question Keary Suska Apr 25, 21:42
mlRe: Simple Interface Connection Question hac Apr 27, 16:25
mlRe: Simple Interface Connection Question I. Savant Apr 27, 16:28