Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PureSwift/Cacao
Pure Swift Cross-platform UIKit (Cocoa Touch) implementation (Supports Linux)
https://github.com/PureSwift/Cacao
cocoa-touch cross-platform-gui linux swift uikit vector-graphics
Last synced: 6 days ago
JSON representation
Pure Swift Cross-platform UIKit (Cocoa Touch) implementation (Supports Linux)
- Host: GitHub
- URL: https://github.com/PureSwift/Cacao
- Owner: PureSwift
- License: mit
- Archived: true
- Created: 2016-05-09T09:49:27.000Z (over 8 years ago)
- Default Branch: develop
- Last Pushed: 2021-09-06T21:03:34.000Z (over 3 years ago)
- Last Synced: 2024-12-04T07:39:37.267Z (8 days ago)
- Topics: cocoa-touch, cross-platform-gui, linux, swift, uikit, vector-graphics
- Language: Swift
- Homepage:
- Size: 3.19 MB
- Stars: 1,080
- Watchers: 39
- Forks: 39
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios-star - Cacao - Pure Swift Cross-platform UIKit (Cocoa Touch) implementation (Supports Linux). (UI / Font)
- awesome-ios - Cacao - Pure Swift Cross-platform UIKit (Cocoa Touch) implementation (Supports Linux). (UI / Font)
README
# Cacao
[![Swift](https://img.shields.io/badge/swift-4.0-orange.svg?style=flat)](https://developer.apple.com/swift/)
[![Platforms](https://img.shields.io/badge/platform-osx%20%7C%20linux-lightgrey.svg)](https://developer.apple.com/swift/)
[![Release](https://img.shields.io/github/release/pureswift/cacao.svg)](https://github.com/PureSwift/Cacao/releases)
[![License](https://img.shields.io/badge/license-MIT-71787A.svg)](https://tldrlegal.com/license/mit-license)
[![SPM compatible](https://img.shields.io/badge/SPM-compatible-4BC51D.svg?style=flat)](https://github.com/apple/swift-package-manager)Pure Swift Cross-platform UIKit (Cocoa Touch) implementation (Supports Linux)
## Build
### OS X
```
brew install cairo sdl2 lcms2
swift build -Xlinker -L/usr/local/lib
```### Ubuntu
```
sudo apt-get install libcairo-dev libsdl2-dev liblcms2-dev
swift build
```## Screenshots
### Run [PaintCode](http://www.paintcodeapp.com) StyleKits in Linux
![Image](Resources/ReadmeImages/UbuntuStyleKit.png)
### Hardware-accelered `UIView` animations
![Image](Resources/ReadmeImages/UbuntuSwitch.gif)
![Image](Resources/ReadmeImages/MacSwitch.gif)### Layout views according to a `UIViewContentMode`
![Image](Resources/ReadmeImages/ContentMode.gif)
### Create applications that run in the native Window Manager
![Image](Resources/ReadmeImages/UbuntuWindow.jpg)
![Image](Resources/ReadmeImages/MacWindow.jpg)