[squeak-dev] Use of #asMorph

Stéphane Rollandin lecteur at zogotounga.net
Sun Mar 14 10:21:37 UTC 2010


> model itemsDo: [:item |
>     self addMorph: (item asMorphIn: self) ]

this one seems the right one for me, although it wouldn't hurt if the 
morph purpose was stated even more explicitely:

model itemsDo: [:item |
      self addMorph: (item asMorphItemIn: self) ]

my 2 cents

Stef





More information about the Squeak-dev mailing list