I\'d like to have a subclass of NSSegmentedControl where the various segments are different colors. I\'ve tried subclassing NSSegmentedControl and adding the following code:
You need to specify fixed width for segments.
Then your code will work pretty good (Screenshot is from my test project)
And don't forget to disable tint
[self.segment.cell setControlTint:NSClearControlTint ];