iOS-style on/off toggle button for NSButton?

3.6k Views Asked by At

Looking for a MacOS equivalent of the iOS on/off toggle button seen here:

on/off

Is using an NSSegmentedControl the best option here?

2

There are 2 best solutions below

1
On

You can use the Mondo Switch which is part of the Cocoa Mondo Kit. Reference URL is http://mcormier.github.com/CocoaMondoKit/

0
On

There are a few solutions:

Cocoa On/Off Switch Control Screenshot Playdar Screenshot