github.com/dagronf/DSFToggleButton (swiftpm): A macOS toggle button (inheriting from NSButton) that mimics iOS's UISwitch
Keywords: appkit|button|cocoa|macos|objective-c|swift|toggle