use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct CLCondition;
unsafe impl ClassType for CLCondition {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
unsafe impl Send for CLCondition {}
unsafe impl Sync for CLCondition {}
unsafe impl NSCoding for CLCondition {}
unsafe impl NSCopying for CLCondition {}
unsafe impl NSObjectProtocol for CLCondition {}
unsafe impl NSSecureCoding for CLCondition {}
extern_methods!(
unsafe impl CLCondition {
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Id<Self>;
}
);