This library provides safe Rust bindings for AppKit on macOS (beta quality, fairly usable) and UIKit on iOS/tvOS (alpha quality, see repo). It tries to do so in a way that, if you've done programming for the framework before (in Swift or Objective-C), will feel familiar. This is tricky in Rust due to the ownership model, but some creative coding and assumptions can get us pretty far. This exists on crates.io in part to enable the project to see wider usage, which can inform development. That said, this library is currently early stages and may have bugs - your usage of it is at your own risk. However, provided you follow the rules (regarding memory/ownership) it's already fine for some apps. The core repository has a wealth of examples to help you get started.

Features

  • You're encouraged to do the bulk of your work starting from the did_finish_launching() method of your AppDelegate
  • In terms of mostly working pieces, the table below showcases the level of support for varying features
  • Initialization & events
  • System-backed colors, theming
  • Basic native toolbar
  • Reusable list w/ cached rows
  • Construction, lifecycle events

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Cacao

Cacao Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Cacao!

Additional Project Details

Operating Systems

Android, Apple iPhone

Programming Language

Rust

Registered

2023-06-21