3
NSOutlineView의 특정 행에 대한 배경색을 어떻게 설정합니까? 나는 운없이이 시도 : 대신 필요한 것은NSOutlineView의 행의 배경색
func outlineView(_ outlineView: NSOutlineView, rowViewForItem item: Any) -> NSTableRowView? {
let newRow = NSTableRowView()
newRow.backgroundColor = NSColor.red
return newRow
}
나를 위해 일했습니다. thx – JohnnyAW