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 <[email protected]>

> 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 <[email protected]>

Reply via email to