Re: IntraApp communication....
Re: IntraApp communication....
- Subject: Re: IntraApp communication....
- From: Buzz Andersen <email@hidden>
- Date: Fri, 27 Sep 2002 21:44:03 -0600
In Applescript, it is an application-level command, and therefore I
would have to either use a category, subclassing NSApplication [not
recommended, from what I've read], or doing it differently and
subclassing NSScriptCommand, but I didn't like the way that solution
looked. Personal preference, I guess.
Ah...I see.
Well, in that case, I guess the only thing I would add to the way you
are doing it now might be to connect your controller to "File's Owner"
in your Nib, and then the controller would be your application's
delegate. Then you could send commands from your NSApplication
category to your controller like this:
[[self delegate] doTheControllerMethod];
Anybody else have any better ideas (I'd be curious to know myself)?
--
Buzz Andersen
email: email@hidden
web:
http://www.scifihifi.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.