I'm going to write a software using Rust:
Which setup allows that? Is it possible at all?
P.S. I never programmed nor with Rust nor with Cocoa/etc before.
Aqua is the graphical user interface, design language and visual theme of Apple's macOS operating system.
GUIs designed in Interface Builder work best if you use bindings, but bindings assume Objective-C. For this reason I'm writing GUI part in Objective-C and core part in Rust.
The two can communicate via an obj-c library (article about this), but the languages are quite different, so it's a bit awkward.
Rust can easily generate C-compatible static library which can be linked to an Objective-C program. You can even add Makefile target in Xcode to build the whole thing without leaving Xcode.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With