cacao icon indicating copy to clipboard operation
cacao copied to clipboard

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

Results 37 cacao issues
Sort by recently updated
recently updated
newest added

Title. Running on M1 Mac mini and feels like it should be faster. Is there anything making this slower than native Obj-C AppKit?

bug
awaiting user confirmation

Hey, macOS maintainer of `winit` here. I've been working on a replacement for `objc` called [`objc2`](https://github.com/madsmtm/objc2), and I think it could be interesting for this crate? Some of the concrete...

enhancement
dependencies

Message sending now requires types to implement `Encode`, which these crates don't do (yet, though maybe they will, see https://github.com/servo/core-foundation-rs/pull/628). Since these crates are used quite infrequently, and we'll probably...

~Blocked on #29~. Part of https://github.com/ryanmcgrath/cacao/issues/28. An initial pass of just getting things to compile. Upgrade instructions for most of the breaking changes can be found in [`objc2`'s CHANGELOG](https://github.com/madsmtm/objc2/blob/master/objc2/CHANGELOG.md), I've...

I get the following error after upgrading cacao to the latest version. error[E0308]: mismatched types --> .../cacao-0.3.0/src/image/image.rs:211:26 | 211 | false => { | __________________________^ 212 | | #[cfg(target_os =...

Builds upon #30. Fix warnings introduced by `objc2` deprecating certain functionality.

This was tested against a790eb95b77900ef52d25e1211166787be3bc23a with the [example on the repo](https://github.com/ryanmcgrath/cacao/blob/a790eb95b77900ef52d25e1211166787be3bc23a/examples/ios-beta/main.rs) It appears to me that ``RSTView`` is registered in multiple places of the codebase, those could possibly conflict I...

It'll be greatly helpful if this Cacao can support InputMethodKit. P.S.: At this moment only (Obj)C(++) and Swift are able to use InputMethodKit.

Referencing this Stack Overflow [article](https://stackoverflow.com/questions/5840969/copying-a-file-to-the-clipboard), the following code allows the user to copy some object (in this case, a file) to the clipboard: ```obj-c NSURL *object = [[NSURL alloc] initFileURLWithPath:@"/Users/username/Desktop/main.png"];...

Would you consider adding bindings for the NSWorkspace API?