cidre 0.9.2

Apple frameworks bindings for rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::{arc, define_obj_type, ns, objc};

define_obj_type!(
    #[doc(alias = "NSFormatter")]
    pub Formatter(ns::Id)
);

impl Formatter {
    #[objc::msg_send(stringForObjectValue:)]
    pub fn string_for_obj_value(&self, obj: &ns::Id) -> Option<arc::R<ns::String>>;
}