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 NSDerivedAttributeDescription;

    unsafe impl ClassType for NSDerivedAttributeDescription {
        #[inherits(NSPropertyDescription, NSObject)]
        type Super = NSAttributeDescription;
    }
);

extern_methods!(
    unsafe impl NSDerivedAttributeDescription {
        #[method_id(@__retain_semantics Other derivationExpression)]
        pub unsafe fn derivationExpression(&self) -> Option<Id<NSExpression, Shared>>;

        #[method(setDerivationExpression:)]
        pub unsafe fn setDerivationExpression(&self, derivationExpression: Option<&NSExpression>);
    }
);