tableView:viewForTableColumn:row: not called
===

I am new to AppKit but not to UIKit.
I try to use an NSTableView and I want to populate problematically.

So I implement 

    - (NSInteger)numberOfRowsInTableView:(NSTableView *)tableView {
        return 1;
    }

    - (NSView *)tableView:(NSTableView *)tableView viewForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row{
        return nil;
    }

and I set my class as the delegate and datasource in Interface Builder. numberOfRowsInTableView is called by tableView:viewForTableColumn:row: is not called.


If I add 

    -(id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(NSInteger)rowIndex{
        return @"toto";
    }

this one is called.

If In understand tableView:viewForTableColumn:row: is called for View-Based tables. And tableView:objectValueForTableColumn:row: is called for Cell-Based tables.  How can I defined my table is View-Based ?

Thanks.