IntraApp communication....
IntraApp communication....
- Subject: IntraApp communication....
- From: "Steven M.Palm" <email@hidden>
- Date: Fri, 27 Sep 2002 16:03:39 -0500
I have a category defined on NSApplication.
I want to send a message to another object in my application, and I
wonder if there is a better way...
Currently I have MainMenu.nib, owned by NSApplication. I have a class
MyController which is a subclass of NSObject. I want to send a message
to MyController from the NSApplication category.
Currently, since it involves dealing with a single (and the only ever)
window, I made "MyController" a delegate to the window, only so that in
my category on NSApplication I could get it's "0"th window, get it's
delegate, and then send it a message.
Is there a cleaner way? [I'm sure there is, I'm new at this]
-----------------------
- Steven M. Palm
- Ham Radio Call: N9YTY
-----------------------
_______________________________________________
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.