Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 575 Bytes

File metadata and controls

28 lines (17 loc) · 575 Bytes

SwitchButton

This example demonstrates the use of NSButton control.

Sources

SwitchButton.m

CMakeLists.txt

Generate and build

To build this project, open "Terminal", go to your project folder and type following lines:

mkdir build
cd build
cmake .. -G "Xcode"
open ./SwitchButton.xcodeproj

Select SwitchButton project and type Cmd+R to build and run it.

Output

Screenshot

Screenshot