Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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).