Re: Simple Interface Connection Question
Re: Simple Interface Connection Question
- Subject: Re: Simple Interface Connection Question
- From: "I. Savant" <email@hidden>
- Date: Fri, 27 Apr 2007 10:28:41 -0400
On 4/27/07, hac <email@hidden> 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.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden