Oct. 6, 2013
8:28 p.m.
On Oct 6, 2013, at 8:16 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
And
NewListExample new withNewList; openInWindow.
does not work.
separatorAfter: item at: index
^ separatorSelector ifNotNil: [ self model perform: separatorSelector with: item with: index ]
Should probably be ifNotNil: [ self model perform: self separatorSelector with: item with: index ]
separatorSelector is a valueHolder and not a symbol
but I do not get it because
separatorSelector ^ separatorSelector contents
separatorSelector: anObject separatorSelector contents: anObject
really looks like a valueHolder.
Stef
It is a value holder for sure :) I will have a look tomorrow to make the example works :) Ben