Registry / other / cocoa
library0.26.1rscratesunverified

Bindings to Apple's Cocoa framework for macOS development.

# Cargo.toml [dependencies] cocoa = "0.26.1"
INSTALL
IMPORT
SIG · COCOA
C
cocoa
otherrustv0.26.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

id
use cocoa::base::id;

Minimal usage showing the primary type `id` from cocoa.

use cocoa::base::id; fn main() { let _obj: id = std::ptr::null_mut(); println!("Cocoa binding ready"); }
Debug
Known issues
gotchaRequires macOS target and Foundation framework linkage
fix
Ensure you are building on macOS and add `#[link(name = "Foundation", kind = "framework")]` if needed.
affects: >=0.26.0
Upgrade
Version history
0.26.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Meta
1
Resources
cocoa — cargo add cocoa · libregistry