Rust

objc2

Bindings to Apple frameworks in Rust

M

madsmtm

Dernière activité 25 sept. 2026
madsmtm/objc2

1,1 k

étoiles

80

forks

103

issues ouvertes

appkitapplecocoaffi-bindingsfoundationiosmacosobjcobjc2objective-crustrust-langtvosuikitvisionoswatchos

Ce README est souvent en anglais.

Rust + [Obj-C]
Objective-C in Rust

License Documentation CI

See objc2 for top-level documentation, including the documentation on framework crates.

Also check out block2 and dispatch2.

Contact

Always feel free to open an issue on GitHub if you find a problem or have any questions.

If you prefer to have a more synchronous and less "formal" discussion, there is a Matrix workspace, feel free to ask any questions in the "Users" room.

Also see CONTRIBUTING.md if you would like to help out.

License

The licensing of the project is a bit complicated, see LICENSE.md for details.

Acknowledgements / Prior art

This repository is a merge of the following projects, see reasoning for the fork here:

These were created almost solely by @SSheldon, so a huge thanks for their fantastic work on these crates!

Additionally, the dispatch2 crate originally lived here.

This project also draws inspiration from:

Finally, this is by far not the only project that ever tried to interoperate with Objective-C; other languages have done so as well (to varying degrees of success):

Projets similaires

Rust bindings to Core Foundation and other low level libraries on Mac OS X and iOS

Rust
Sservo
1,3 k étoiles250

The Python <-> Objective-C Bridge with bindings for macOS frameworks

Pythonmacosobjective-cpython
Rronaldoussoren
819 étoiles65

Apple frameworks bindings for rust

Rust
Yyury
220 étoiles32