This folder contains AppKit control examples.
- Button shows how to create a Button and Event Click with NSButton.
- CheckBox shows how to create a CheckBox with NSButton.
- ComboBox shows how to create a ComboBox with NSComboBox.
- Label shows how to create a Label with NSTextField.
- LevelIndicator shows how to create a LevelIndicator with NSLevelIndicator.
- ListBox shows how to create a ListBox with NSTextList.
- LoadingIndicator shows how to create a LoadingIndicator with NSProgressIndicator.
- PictureBox shows how to create a PictureBox with NSImageView.
- ProgressIndicator shows how to create a ProgressIndicator with NSProgressIndicator.
- RadioButton shows how to create a RadioButton with NSButton.
- Slider shows how to create a Slider with NSSlider.
- SwitchButton shows how to create a SwitchButton with NSSwitch.
- TextBox shows how to create a TextBox with NSTextField.
- ToggleButton shows how to create a ToggleButton with NSButton.
- TrackBar shows how to create a TrackBar with NSSlider.
To build this project, open "Terminal", go to your project folder and type following lines:
mkdir build
cd build
cmake .. -G "Xcode"
open ./Controls.xcodeproj