use crate::common::*;
use crate::CoreData::*;
use crate::Foundation::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct NSIncrementalStoreNode;
unsafe impl ClassType for NSIncrementalStoreNode {
type Super = NSObject;
}
);
extern_methods!(
unsafe impl NSIncrementalStoreNode {
#[method_id(@__retain_semantics Init initWithObjectID:withValues:version:)]
pub unsafe fn initWithObjectID_withValues_version(
this: Option<Allocated<Self>>,
objectID: &NSManagedObjectID,
values: &NSDictionary<NSString, Object>,
version: u64,
) -> Id<Self, Shared>;
#[method(updateWithValues:version:)]
pub unsafe fn updateWithValues_version(
&self,
values: &NSDictionary<NSString, Object>,
version: u64,
);
#[method_id(@__retain_semantics Other objectID)]
pub unsafe fn objectID(&self) -> Id<NSManagedObjectID, Shared>;
#[method(version)]
pub unsafe fn version(&self) -> u64;
#[method_id(@__retain_semantics Other valueForPropertyDescription:)]
pub unsafe fn valueForPropertyDescription(
&self,
prop: &NSPropertyDescription,
) -> Option<Id<Object, Shared>>;
}
);