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

extern_class!(
    #[derive(Debug, PartialEq, Eq, Hash)]
    pub struct ASAuthorizationPublicKeyCredentialParameters;

    unsafe impl ClassType for ASAuthorizationPublicKeyCredentialParameters {
        type Super = NSObject;
    }
);

extern_methods!(
    unsafe impl ASAuthorizationPublicKeyCredentialParameters {
        #[method_id(@__retain_semantics Init initWithAlgorithm:)]
        pub unsafe fn initWithAlgorithm(
            this: Option<Allocated<Self>>,
            algorithm: ASCOSEAlgorithmIdentifier,
        ) -> Id<Self, Shared>;

        #[method(algorithm)]
        pub unsafe fn algorithm(&self) -> ASCOSEAlgorithmIdentifier;

        #[method_id(@__retain_semantics New new)]
        pub unsafe fn new() -> Id<Self, Shared>;

        #[method_id(@__retain_semantics Init init)]
        pub unsafe fn init(this: Option<Allocated<Self>>) -> Id<Self, Shared>;
    }
);