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::CoreData::*;
use crate::Foundation::*;

extern_class!(
    #[derive(Debug, PartialEq, Eq, Hash)]
    pub struct NSManagedObjectID;

    unsafe impl ClassType for NSManagedObjectID {
        type Super = NSObject;
    }
);

extern_methods!(
    unsafe impl NSManagedObjectID {
        #[method_id(@__retain_semantics Other entity)]
        pub unsafe fn entity(&self) -> Id<NSEntityDescription, Shared>;

        #[method_id(@__retain_semantics Other persistentStore)]
        pub unsafe fn persistentStore(&self) -> Option<Id<NSPersistentStore, Shared>>;

        #[method(isTemporaryID)]
        pub unsafe fn isTemporaryID(&self) -> bool;

        #[method_id(@__retain_semantics Other URIRepresentation)]
        pub unsafe fn URIRepresentation(&self) -> Id<NSURL, Shared>;
    }
);