I have a file list with creation time and I want to show it as different colour in NSDataPickerView. like this How can I achieve this?
I've tried self.datePicker.textColor = NSColor.redColor()
but it does not work.
Asked
Active
Viewed 216 times
0

Willjay
- 6,381
- 4
- 33
- 58
2 Answers
0
Try this :
self.datePicker.setValue(NSColor.redColor(), forKey: "textColor")
I am not sure, it will work for NSDatePicker
or not, but its working for UIDatePicker
!

iRiziya
- 3,235
- 1
- 22
- 36