Jan. 7, 2015
5:13 p.m.
On 07 Jan 2015, at 14:06, Roberto Minelli <roberto.minelli@usi.ch> wrote:
Thank you, Clément!
We use instance var on class side is to implement singleton, for example. Iâve never used a class var and I am wondering what is a the most common use of such a variable?
Singletons where you have a hierarchy of classes and you want to have just one object for the whole hierarchy. e.g. ThemeIcons, there the singleton was until recently a class instance variable, leading to us having multiple instances of the singleton in the image, one per subclass. Marcus