IntraApp Communication....
IntraApp Communication....
- Subject: IntraApp Communication....
- From: Buzz Andersen <email@hidden>
- Date: Fri, 27 Sep 2002 19:36:56 -0600
I have a category defined on NSApplication.
If you don't mind my asking, do you have a specific reason for using a
category on NSApplication? The norm would really be to put all of your
logic in a controller class that is a delegate of your program's
NSApplication instance (create an instance of your controller class in
Interface Builder and connect it to the "delegate" outlet of "File's
Owner" in your Nib) and let the run loop do the rest.
If you need to access your application's NSApplication instance from
your controller class, use the following...
[NSApplication sharedApplication];
Does this answer your question, or did you already know all of that :-)?
--
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.