【发布时间】:2015-07-03 18:00:50
【问题描述】:
I have an NSTableView in which I'm changing the colour of the text in a particular column, but when a row is selected, the text does not change to a more appropriate colour so that it's readable.
Finder 的 Date Modified、Size 和 Kind 列有灰色文本,当您选择文件/文件夹行时,灰色文本会变为白色(以便在蓝色突出显示中可读)。
我在 XCode 上找不到一个神奇的复选框来默认启用此行为,那么有人知道我如何实现相同的效果吗?
我在 XCode 6.3 中使用 Swift。
谢谢。
【问题讨论】:
标签: xcode cocoa nstableview