|
Just got around to reading the article. First, thanks for posting Cocoa stuff. Can't get enough; sometimes this seems like macnewscenter.com ;)
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!
|