# madsmtm/objc2

Bindings to Apple frameworks in Rust

Repository: https://github.com/madsmtm/objc2
Canonical: https://ross.abutalabs.com/products/objc2
Homepage: https://docs.rs/objc2
Language: Rust
License: NOASSERTION
License Family: other
Topics: objective-c, ffi-bindings, macos, objc, ios, rust-lang, rust, cocoa, foundation, tvos, watchos, appkit, uikit, visionos, objc2, apple
Last push: 2026-08-25T23:30:27+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 1830, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1016, forks 78 (observed 2026-08-28T04:03:14.477639+00:00)

## What it is
Rust bindings to the Objective-C runtime and Apple frameworks (Foundation, AppKit, UIKit, Metal, etc.), enabling safe bi-directional interop between Rust and Objective-C. It also supports GNUStep and includes companion crates for blocks and Grand Central Dispatch.

## Use cases
- call Objective-C APIs from Rust
- build macOS apps in Rust
- build iOS apps in Rust
- use AppKit or UIKit from Rust
- interoperate with Apple frameworks like Metal and WebKit
- wrap Objective-C libraries in Rust

## When to choose
- writing Rust code that needs to call Apple system frameworks
- building native macOS/iOS applications in Rust
- you need safe, well-documented Objective-C interop with GNUStep support

## When to avoid
- targeting platforms other than Apple (or GNUStep)
- you want a pure-Rust UI framework without Objective-C bindings
- your project is Swift or Objective-C native with no Rust involvement

## Facets
- artifact type: library
- maturity: active
- function: sdk, developer-tools
- domain: apple-ecosystem, cross-platform, developer-tools, programming-languages
- platform: rust, cross-platform
- tags: objective-c, ffi-bindings, cocoa, appkit, uikit, foundation, interop, gnustep, macos, ios

## Member repositories
- madsmtm/objc2 (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:14.477639+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:11:19.766146+00:00, confidence not recorded.
  - readme: https://github.com/madsmtm/objc2 (fetched 2026-08-28T04:03:14.477639+00:00, sha 8f1802682f33)
  - homepage: https://docs.rs/objc2 (fetched 2026-08-29T13:10:27.932716+00:00, sha b4255fa25d7d)
  - site_page: https://docs.rs/ (fetched 2026-08-29T13:10:27.942260+00:00, sha d7dd2032fb2a)
  - site_page: https://docs.rs/crate/objc2/latest (fetched 2026-08-29T13:10:27.944170+00:00, sha 7fbc89e79998)
  - site_page: https://docs.rs/crate/objc2/latest/features (fetched 2026-08-29T13:10:27.946291+00:00, sha ea4e6eb1e7df)
  - site_page: https://docs.rs/about (fetched 2026-08-29T13:10:27.948220+00:00, sha 29ab7986fbf5)
  - site_page: https://docs.rs/about/badges (fetched 2026-08-29T13:10:27.949955+00:00, sha 6588cac258af)
  - site_page: https://docs.rs/about/builds (fetched 2026-08-29T13:10:27.951854+00:00, sha 811231ca4680)
  - site_page: https://docs.rs/about/metadata (fetched 2026-08-29T13:10:27.953736+00:00, sha 0dcdccb2b2b2)
  - site_page: https://docs.rs/about/redirections (fetched 2026-08-29T13:10:27.958096+00:00, sha 1b1efd93105f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
