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 wi开发者_运维知识库th the Interface Builder or do I have to use drawing? I'd like as detailed an explanation as possible. Thanks!
Like this
: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.
NSTableView allows for varying-height rows using the tableView:heightOfRow: delegate method.
精彩评论