Registry / crypto / objc-id

objc-id

JSON →
library0.1.1rscratesunverified

Rust smart pointers for Objective-C reference counting.

# Cargo.toml [dependencies] objc_id = "0.1.1"
INSTALL
IMPORT
SIG · OBJC-ID
O
objc-id
cryptorustv0.1.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 objc_id::Id;

Create an Id smart pointer from a retained Objective-C pointer.

use objc_id::Id; fn main() { let _id: Id<()> = unsafe { Id::from_retained_ptr(std::ptr::null_mut()) }; }
Debug
Known issues
gotchaRequires unsafe code for pointer management; misuse can cause memory unsafety.
fix
Ensure proper retain/release semantics and use only with valid Objective-C objects.
affects: >=0.1.0
Upgrade
Version history
0.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
objc-id — cargo add objc-id · libregistry