Cocoa custom slider: NSSlider with changing color.
To Change you NSSlider progress color with any hexa color:
- Drag "Custom Slider Classes" folder in your project.
- In your xib file add NSSlider to the window.
- Open the NSSliderCell under the NSSlider and type "MyCustomSlider".
- Open "MyCustomSlider.h" class and set your Progress and backaground hexa color in the macro.
#define PROGRESS_COLOR @"#8DEBAE"
#define BACKGROUND_COLOR @"#000000"