icrate 0.0.1

Bindings to Apple's frameworks
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use crate::common::*;
use crate::AppKit::*;
use crate::CoreData::*;
use crate::Foundation::*;

typed_enum!(
    pub type NSTextContentType = NSString;
);

extern_static!(NSTextContentTypeUsername: &'static NSTextContentType);

extern_static!(NSTextContentTypePassword: &'static NSTextContentType);

extern_static!(NSTextContentTypeOneTimeCode: &'static NSTextContentType);

extern_protocol!(
    pub struct NSTextContent;

    unsafe impl ProtocolType for NSTextContent {
        #[method_id(@__retain_semantics Other contentType)]
        pub unsafe fn contentType(&self) -> Option<Id<NSTextContentType, Shared>>;

        #[method(setContentType:)]
        pub unsafe fn setContentType(&self, contentType: Option<&NSTextContentType>);
    }
);