NSTableView にカスタムビューを表示する方法を調査中。
NSTableView with custom cells - Stack Overflow
-tableView:dataCellForTableColumn:row: を使う方法が示唆されていた。
-tableView:dataCellForTableColumn:row: は NSTableViewDelegate プロトコルで定義されている。
Mac Dev Center: NSTableViewDelegate Protocol Reference
このプロトコルは Mac OS X 10.6 から新設されたもので、そのほとんどのメソッドは従来は Informal Protocol として用意されていたもの(なので 10.5 まででも基本的に使える)。
Mac Dev Center: NSTableView Class Reference
ちょっとサンプルを組んでみよう。
(続く)