Article View: comp.sys.next.programmer
Article #167Re: Accessing the values of variables in other objects?
From: Scott Anguish
Date: Wed, 22 Jul 1992 00:21
Date: Wed, 22 Jul 1992 00:21
15 lines
1005 bytes
1005 bytes
Lloyd P. Goldwasser writes > Here's a simple Objective-C question with, I suspect, a simple yes-or-no > answer. > > Is it possible to access directly the values of variables in other objects? The best way is to do it with the method returns value style. Otherwise, you aren't really working in a very Object Oriented way, plus you don't get the benefit of being able to change the variable type, without having to change anything in the objects that actually use it. -- - Scott Anguish - sanguish@digifix.com (NextMail)
Technical Details
Message-ID:
<1992Jul22.002121.809@digifix!uunet.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!digifix!sanguishReferences:
<1992Jul21.234421.8444@u.washington.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!digifix!sanguish From: sanguish@digifix.com (Scott Anguish) Subject: Re: Accessing the values of variables in other objects? Message-ID: <1992Jul22.002121.809@digifix!uunet.ca> Sender: sanguish@digifix!uunet.ca Reply-To: sanguish@digifix.com Organization: Digital Fix Development References: <1992Jul21.234421.8444@u.washington.edu> Date: Wed, 22 Jul 1992 00:21:21 GMT Lines: 16