> On 29 Nov 2016, at 10:37, Aliaksei Syrel <alex.sy...@gmail.com> wrote:
> 
> 
> On 29 November 2016 at 10:14, Esteban Lorenzano <esteba...@gmail.com 
> <mailto:esteba...@gmail.com>> wrote:
> And DataSource is another stuff in Cocoa, from where I borrowed the design: 
> https://developer.apple.com/reference/appkit/nstableviewdatasource 
> <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 
> <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.

not true. 
it returns an NSView.

Esteban 

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

Reply via email to