Cocoa: How to make table view draw custom views in each cell

Posted by Inso Reiges on Stack Overflow See other posts from Stack Overflow or by Inso Reiges
Published on 2010-04-07T14:50:19Z Indexed on 2010/04/07 14:53 UTC
Read the original article Hit count: 340

Filed under:
|

Hello,

I am learning Cocoa and trying to create an application for Mac that displays a simple book list. Each book is an NSView with its cover image, title and author. I want to present this list as a NSTableView with a single column and a book view in each cell. However i can't yet figure out how to display a custom view inside a table cell in interface builder or programmatically. Any tips would be very appreciated :)

Inso.

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about mac