Sept. 21, 2013
5:35 p.m.
Since UIPainter, example aren't needed :p Another way, than i like, is create a method for a model. Class>>listModel listModel ifNil: [ listModel := self instantiate: ListModel. and options ]. ^ listModel And do nothing in initializeWidgets 2013/9/21 Camillo Bruni <camillobruni@gmail.com>
Can I rewrite all spec examples from
self instantiateModels: #( listModel ListComposableModel methodModel MethodBrowser ).
to the more explicit form:
listModel := self instantiate: ListComposableModel. methodModel := self instantiate: MethodBrowser.
-- Best regards, Douaille Erwan <douaille.erwan@gmail.com>