cacao

Rust bindings for AppKit (macOS) and UIKit (iOS/tvOS). Experimental, but working!

MIT License

Downloads
21.9K
Stars
1.9K
Committers
17

Bot releases are hidden (Show)

cacao - 0.4.0-beta2 Latest Release

Published by ryanmcgrath about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/ryanmcgrath/cacao/compare/0.4.0-beta1...0.4.0-beta2

cacao - 0.4.0-beta1

Published by ryanmcgrath over 1 year ago

This release contains features and fixes for both macOS and iOS. Going forward, we'll try to actually publish release notes since it seems people are actually using the crate. ;P

General

  • Subclass names now automatically have a generated random suffix in order to prevent class name collision in the ObjC runtime under certain conditions (e.g odd bundle loading) (thanks @MerlinDE for input/work on this).
  • The internal objc_access module is now exposed for cases where externally-implemented components are needed (thanks @siketyan)
  • Fixes for the iOS beta build flow (thanks @simlay, @rizerco, @shuoli84)
  • Readme and example fixes (thanks @dominikwilkowski, @yerke, @dagit, @glepnir)
  • Fixes for core-foundation dependency lifecycle, along with always useful input and a PR that I will eventually get to (@madsmtm)

macOS

  • WebViewDelegate correctly uses the NAME parameter on its subclass type.
  • Basic support for monospace system fonts was added (thanks @EstebanBorai)
  • Webviews now don't require two clicks to activate and instead get immediate mousedown events (thanks @maxjvh)
  • Basic support for NSPopover (thanks @terhechte)
  • Subtitle and safe area layout work (thanks @JoshuaBrest)

iOS

  • SFSymbols no longer causes a panic when attempting to use on iOS.
  • Basic Image support thanks to @simlay.

0.4.0-beta1 is available on crates.io, comments/bugs/etc are welcome. Thanks!