On Oct 6, 2013, at 8:16 PM, Stéphane Ducasse <[email protected]> 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


Reply via email to