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