[Seaside] Subclasses
Randal L. Schwartz
merlyn at stonehenge.com
Sat Jul 4 02:30:56 UTC 2009
>>>>> "Robert" == Robert Sirois <watchlala at hotmail.com> writes:
Robert> Basic super/subclass situation with one iVar... so my question is,
Robert> when you instantiate an instance of the subclass, it also has iVar
Robert> (not static), right?
Yes.
Robert> Also, if I wanted to create accessors for it, would I put those on the
Robert> parent or child class?
You could actually do either, but if you create them in the subclass, the
methods of the superclass cannot use them.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
More information about the seaside
mailing list