I'm implementing a tool very similar to the built-in plist editor in Xcode. The only thing missing is the custom highlighting when a row is selected (see attached image). What's the proper way achieving this?

enter image description here

有帮助吗?

解决方案

Finally, I've subclassed NSOutlineView + NSTableRowView and provided a custom implementation in drawSelectionInRect:.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top