Sample use in spec | (#tasks -> (
(#class -> #MobileSelector ),
(#configuration -> (
(#order -> 2), (#height -> 240),
(#listeners -> (
(#needsTitle -> ['Your Tasks'] ),
(#needsItems -> [:coordinator | coordinator applicationModel tasks ] ),
(#configureCell:for:in:coordinator: -> [:cell :item :aList :coordinator | coordinator configure: cell title: item taskType description: item description ]),
(#needsIconSourceFor:in:coordinator: -> [:item :aList :coordinator | | object | object := item object. object notNil ifTrue: [ coordinator iconSourceFor: object status group: (coordinator @ #tasks )] ]),
(#selected: -> [:item :coordinator | coordinator thread next: ((coordinator newTemplateAt: #TaskDetails) model: item;yourself) ])
))
))
)), |