views:

57

answers:

1

I display a file list and want to show the file icon and editable file name in a NSTableColumn.

Also what would be the best way to display an additional NSImage immediately behind the file name (i mean not adding an additional column at the right side for the second icon).

A: 

Okay i found the answer to both questions after 10 more minutes of googling.

Apples sample code:

http://developer.apple.com/mac/library/samplecode/SourceView/Introduction/Intro.html

contains a NSTextFieldCell subclass named ImageAndTextCell which promises to do what i want.

Lothar