[Glass] Best Practice To Programmatically add an instance variable to an existing class?

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Thu Aug 17 14:58:12 PDT 2017


Reg,

If you are using tODE, then you can edit the class definition and then 
save it ... the new class will be created and all instances of the old 
class will be migrated to the new class ...

Dale

On 08/16/2017 06:34 PM, Reg Krock wrote:
> HI,
>
> What is the best practice for dynamically adding an instance variable to an existing class?
>
> There are two classes in Behaviour -
> 	#addInstVarName:
> 	#addInstVar:
>
> Thanks,
>
> Reg



More information about the Glass mailing list