madsmtm/objc2

Bindings to Apple frameworks in Rust

1,028

stars

4,630

commits

Rust

primary language

Sep 9, 2026

updated

docs.rs/objc2
appkit
apple
cocoa
ffi-bindings
foundation
ios
macos
objc
objc2
objective-c
rust
rust-lang
tvos
uikit
visionos
watchos
Browse cluster: Apple Platform Image & Media Libraries

README

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):

Contributors

(top 30 of 61)

madsmtm

3,137 commits

SSheldon

1,210 commits

silvanshade

68 commits

kvark

27 commits

madsmtm/objc2

Bindings to Apple frameworks in Rust

1,028

stars

4,630

commits

Rust

primary language

Sep 9, 2026

updated

docs.rs/objc2
appkit
apple
cocoa
ffi-bindings
foundation
ios
macos
objc
objc2
objective-c
rust
rust-lang
tvos
uikit
visionos
watchos
Browse cluster: Apple Platform Image & Media Libraries

README

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):

Contributors

(top 30 of 61)

madsmtm

3,137 commits

SSheldon

1,210 commits

silvanshade

68 commits

kvark

27 commits

Languages

Rust

99.9%