On 29 November 2016 at 10:14, Esteban Lorenzano <[email protected]> wrote:

> And DataSource is another stuff in Cocoa, from where I borrowed the
> design: https://developer.apple.com/reference/appkit/nstableviewdatasource
>
>

I know :)
However, implementation of FastTable does not correspond to Cocoa design.

A table view does not store its own data; it retrieves *data values* as
> needed *from a data source* to which it has a weak reference

https://developer.apple.com/reference/appkit/nstableview
This is where misconception begins. In Cocoa data source acts as real data
source, it returns Object, not Morph! At the same time DataSource in
FastTable returns Morphs.

Naming in Cocoa is correct and I am not arguing about it :) DataSource in
FastTable != DataSource in Cocoa.

Cheers,
Alex

Reply via email to