Registry / other / objc
library0.2.7rscratesunverified

Objective-C runtime bindings and wrapper for Rust, enabling interaction with Objective-C objects and methods.

# Cargo.toml [dependencies] objc = "0.2.7"
INSTALL
IMPORT
SIG · OBJC
O
objc
otherrustv0.2.7
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.

Object
use objc::runtime::Object;

Creates an NSObject instance using Objective-C runtime.

use objc::runtime::Object; use objc::{class, msg_send, sel, sel_impl}; fn main() { let obj: *mut Object = unsafe { msg_send![class!(NSObject), new] }; println!("Created NSObject"); }
Debug
Known issues
gotchaRequires linking to Objective-C runtime (macOS/iOS); not available on non-Apple platforms.
fix
Use conditional compilation or target-specific dependencies for cross-platform code.
affects: >=0.2.0
Upgrade
Version history
0.2.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
objc — cargo add objc · libregistry