I'm trying to decide which path to take for developing my Snow Leopard app. First, I should preface with the obvious differences:
NSTableView can have multiple columns of data for representing different parts of the same "element" of data (a row) where NSCollectionView can display a grid of data as well, but every row+column combo is its own element. For my purposes, assume I'm dealing with a single column.
As far as I can tell,
NSCollectionViewitems areNSViews which all must be of the same dimensions. Also, unlikeNSTableView, collectionview items are copied to theNSCollectionViewinstead of being provided as needed by adataSource(I'm uncertain about this, please correct me if I'm wrong).NSTableViewusesNSCells if you decide to customize the display of rows. AsNSCellisn't anNSResponder, how does one handle events (if I wanted to add some sort of accessory to the cell, like how the Arrows in iTunes work (although, iTunes is Carbon). I've seen someNSCellsubclasses in IB which appear to be equivalents of theirNSControlbrethren, but what if I want to haveMySweetViewobjects in anNSCell?).Both seem to work about the same with respects to Bindings, correct?
Finally,
NSCollectionViewappears to play nicely with animation of its elements (for re-arranging items, or filtering them for example). CanNSTableViewdo this with its rows?
Anything else I should consider?