[Seaside] Subclasses

Robert Sirois watchlala at hotmail.com
Sat Jul 4 02:21:36 UTC 2009

Here's a completely noob Smalltalk question:

Let's say you have a superclass ie.:

WAComponent subclass: #aSuperClass
    instanceVariableNames: 'iVar'.

and a subclass of it:

aSuperClass subclass: #aSubClass
    instanceVariableNames: ''.

Basic super/subclass situation with one iVar... so my question is, when you instantiate an instance of the subclass, it also has iVar (not static), right? Or am I totally confused? Also, if I wanted to create accessors for it, would I put those on the parent or child class?


Hotmail® has ever-growing storage! Don’t worry about storage limits. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090703/6f53b2e9/attachment.htm

More information about the seaside mailing list