On Sep 21, 2013, at 7:35 PM, Erwan Douaille <[email protected]> wrote:
> Since UIPainter, example aren't needed :p euhhhhhhhh :P Ben > > 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]>
