Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Xcodeに組み込まれているplistエディターと非常によく似たツールを実装しています。欠落しているのは、行が選択されたときのカスタム強調表示だけです(添付の画像を参照)。これを達成するための適切な方法は何ですか?
NSOutlineView最後に、 +をサブクラスNSTableRowView化し、でカスタム実装を提供しましたdrawSelectionInRect:。
NSOutlineView
NSTableRowView
drawSelectionInRect: