Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gammasoft71/examples_cocoa
Shows how to use macOS AppKit Cocoa controls without StoryBoard only by programming code (objective-c)
https://github.com/gammasoft71/examples_cocoa
appkit cocoa combobox example examples macos nsbutton nstextfield objective-c progressbar radio-buttons textbox widgets
Last synced: 11 days ago
JSON representation
Shows how to use macOS AppKit Cocoa controls without StoryBoard only by programming code (objective-c)
- Host: GitHub
- URL: https://github.com/gammasoft71/examples_cocoa
- Owner: gammasoft71
- License: mit
- Created: 2018-08-11T10:08:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-18T18:43:36.000Z (9 months ago)
- Last Synced: 2024-04-19T08:56:01.452Z (9 months ago)
- Topics: appkit, cocoa, combobox, example, examples, macos, nsbutton, nstextfield, objective-c, progressbar, radio-buttons, textbox, widgets
- Language: Objective-C
- Homepage: https://gammasoft71.wixsite.com/gammasoft/cocoa
- Size: 5.72 MB
- Stars: 79
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Cocoa examples
Shows how to use macOS [AppKit](https://developer.apple.com/documentation/appkit/) Cocoa controls without StoryBoard only by programming code (objective-c).
[![coocoa](docs/Pictures/cocoa_header.png)](https://gammasoft71.wixsite.com/gammasoft/cocoa)
## [AppKit](src/README.md)
* [Hello Worlds](src/HelloWorlds/README.md) contains AppKit "Hello, World!" examples.
* [Applications](src/Applications/README.md) contains applications examples.
* [Dialogs](src/Dialogs/README.md)contains dialogs examples.
* [Menus and toolbars](src/MenusAndToolbars/README.md) contains menus and toolbars examples.
* [Containers](src/Containers/README.md) contains containers examples.
* [Controls](src/Controls/README.md) contains common controls examples.
* [Components](src/Components/README.md) contains components examples.
* [Events](src/Events/README.md) contains events examples.
* [Others](src/Others/README.md) contains others examples.## Download
``` shell
git clone https://github.com/gammasoft71/Examples_Cocoa
```## Generate and build
To build this project, open "Terminal", go to your project folder and type following lines:
``` cmake
mkdir build
cd build
cmake .. -G "Xcode"
open ./CocoaExamples.xcodeproj
```## Remarks
This project run only on macOS with [Xcode](https://developer.apple.com/xcode) and [CMake](https://cmake.org).