Re: Executing methods in one class from within another
Re: Executing methods in one class from within another
- Subject: Re: Executing methods in one class from within another
- From: Matt Neuburg <email@hidden>
- Date: Wed, 12 Jun 2002 09:08:33 -0700
On Tue, 11 Jun 2002 17:05:32 -0700, alex <email@hidden> said:
>
we have problems figuring out a way to access a method in one class form
>
within another
Class methods are globally accessible, so perhaps you mean instance
methods? In this case, I agree with the other posts; it sounds as if you
don't understand Cocoa's basic assumption in this regard, which is that
(unlike REALbasic, for example) almost no instances are globally accessible
- instead, you have to explicitly make them aware of each other. Read any
of the Cocoa books to learn the various ways of doing that. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.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.