Understanding the NSTableView Class
Subject:   Question on p3 - use of NSDictionary
Date:   2006-09-20 13:09:49
From:   bh1234
Just got around to reading the article. First, thanks for posting Cocoa stuff. Can't get enough; sometimes this seems like ;)

Second, I'm a little confused about the use of NSDictionary on page 3.

- (int)numberOfRowsInTableView:(NSTableView *)aTable
return ([aBuffer count]);

The way it looks from the diagram Figure 6, we have a dictionary with a size of three k,v pairs - key is id for column and value is an array of values. So why doesn't return ([aBuffer count]); return 3?

Thanks again for the informative article, looking forward to more!