On 23/05/2009, at 8:33 AM, Stamenkovic Florijan wrote:

NSTableView does not seem to be of much help. It accepts an NSCell as means of rendering, but if I understand it correctly, an NSCell can't contain subviews nor subcells, and is therefore of little use.

Any pointers to documentation on how to deal with this would be very appreciated. Perhaps I am simply using the wrong terms to search.


I would have thought NSTableView would be suitable for this. You can either break each row into separate columns and give each a specific task, like the progress indicator, filename, etc, or you can design a custom cell that lays out these elements however you wish.

It's true that constructing a view containing subviews for these elements is generally easier than making a custom cell, and getting a table view to adopt a view for each row is currently not directly supported (though is possible). However in this case stacking the views is straightforward so maybe building your own "table-like" class for doing that would be the way forward.

--Graham


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to