Executing methods in one class from within another
Executing methods in one class from within another
- Subject: Executing methods in one class from within another
- From: alex <email@hidden>
- Date: Tue, 11 Jun 2002 17:05:32 -0700
Hi,
we have problems figuring out a way to access a method in one class form
within another. I have, in an earlier project, managed to do so by
subclassing NSApplication which provided one central location to
actually store instances of any other controller class, therefore making
everything accessible easily and to every class at any time.
The documentation refers to this as some kind of no-no. I don't really
understand how else to modify some instance in one class from another
class without having an instance of it.
I have done some searching but didn't come up with anything useful. The
documentation on NSApplication is nto very helpful. Considering that
this is a question that earlier or later will pop up for everyone I hope
someone could point me to where this is explained, or just explain it to
me.
Thanks
Alex
_______________________________________________
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.