Skip to main content

nsstring

Function nsstring 

Source
pub unsafe fn nsstring(s: &str) -> *mut c_void
Expand description

Create an NSString from a Rust &str.

§Safety

Foundation must be loaded. The returned object is +1.