Mac Segmented Control
An implementation of iOS’ UISegmentedControl on macOS.
Addionally Supports:
- Mouse dragging.
- Arrow Keys.
Demo
SegmentDarkMode.mov
SegLightMode.mov
Area for improvement
- Accessibility support
- Support different NSControl sizes
- Proportionally fitting segments to fit strings.
- Something something content hugging something…
- macOS However keeps them the same size in the wild: