This is going to be another one of those posts where I did something ridiculous and then show you how I got there, so let’s just get right to it. use objc_rust::*; use std::ffi::CStr; pub fn main() { #[link(name = "Foundation", kind = "framework")] extern {} objc! { let cls = ObjCClass::lookup("NSNumber\0").unwrap(); let value = [[cls.into() numberWithUnsignedInt:42u32] stringValue]; let result =