Cacao
  • May 24, 2025

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 StyleKits in Linux
Hardware-accelered UIView animations

Layout views according to a UIViewContentMode

Create applications that run in the native Window Manager

GitHub


View Github

YOU MIGHT ALSO LIKE...
PermissionsSwiftUI: A SwiftUI package to handle permissions

PermissionsSwiftUI displays and handles permissions in SwiftUI. It is largely inspired by SPPermissions. The UI is highly customizable and resembles an Apple style. ...

Pager tab strip view

Introduction PagerTabStripView is the first pager view built in pure SwiftUI. It provides a component to create interactive pager views ...

PageView

SwiftUI view enabling page-based navigation, imitating the behaviour of UIPageViewController in iOS.

Pages

    

How to take action when a property changes

1. Taking Action When a Property Changes: Property Observers Swift lets you observe and respond to changes in a property’s ...