icrate 0.1.2

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

extern_class!(
    #[derive(Debug, PartialEq, Eq, Hash)]
    #[cfg(feature = "CoreLocation_CLMonitoringRecord")]
    pub struct CLMonitoringRecord;

    #[cfg(feature = "CoreLocation_CLMonitoringRecord")]
    unsafe impl ClassType for CLMonitoringRecord {
        type Super = NSObject;
        type Mutability = InteriorMutable;
    }
);

#[cfg(feature = "CoreLocation_CLMonitoringRecord")]
unsafe impl NSCoding for CLMonitoringRecord {}

#[cfg(feature = "CoreLocation_CLMonitoringRecord")]
unsafe impl NSObjectProtocol for CLMonitoringRecord {}

#[cfg(feature = "CoreLocation_CLMonitoringRecord")]
unsafe impl NSSecureCoding for CLMonitoringRecord {}

extern_methods!(
    #[cfg(feature = "CoreLocation_CLMonitoringRecord")]
    unsafe impl CLMonitoringRecord {
        #[cfg(feature = "CoreLocation_CLCondition")]
        #[method_id(@__retain_semantics Other condition)]
        pub unsafe fn condition(&self) -> Id<CLCondition>;

        #[cfg(feature = "CoreLocation_CLMonitoringEvent")]
        #[method_id(@__retain_semantics Other lastEvent)]
        pub unsafe fn lastEvent(&self) -> Id<CLMonitoringEvent>;

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