I’d like to have a view that looks more or less like the message list in Tweetie (see screenshot) (no, it’s not going to be a Twitter client, though it’s similar ;). I’m not sure what Cocoa views should I use for that… I’ve mostly written stuff for the iPhone recently, and there’s only one such control there (UITableView), but in AppKit there’s several of them. Should I use NSTableView, or NSCollectionView, or is something else more suitable here?
Share
Update: I’m going with SDListView – it’s newer, seems to be maintained (it’s a part of Steven Degutis’s "TheGist" Twitter client), and the version used in that client looks almost identical to the one in Tweetie, which I kind of wanted to rip off anyway…
Update 2 (2014): Since 10.7 it’s possible to use NSViews in NSTableView, so this whole answer is outdated. For any UITableView-like lists you should now just use view-based NSTableViews and you’ll be fine.
—
Ok, I’ll answer myself: according to this blog post, I could use NSTableView, but it’s not a very good idea…:
I think I’ll try to find some kind of custom open source control made specifically for that purpose… I’m considering AMCollectionView from http://www.harmless.de/cocoa-code.php and SDListView from http://github.com/sdegutis/SDListView.