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>);
}
);