views:

117

answers:

2

I want the interface to look something like the right side of the Things interface but the items in the list need to be of different widths. Is this achievable with the Interface Builder or do I have to use drawing? I'd like as detailed an explanation as possible. Thanks!

Like this

Things:

A: 

Have a look at Steve Degutis's code over on SDListView on GitHub.

This is a subclass of NSCollectionView for a single column with variable height items.

I know it's only a link, but its as detailed an answer as the question.

Abizern
A: 

NSTableView allows for varying-height rows using the tableView:heightOfRow: delegate method.

Ciarán Walsh