objc2-app-kit 0.3.2

Bindings to the AppKit framework
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ffi::*;
use objc2::__framework_prelude::*;

use crate::*;

extern_protocol!(
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nschangespelling?language=objc)
    pub unsafe trait NSChangeSpelling {
        /// # Safety
        ///
        /// `sender` should be of the correct type.
        #[unsafe(method(changeSpelling:))]
        #[unsafe(method_family = none)]
        unsafe fn changeSpelling(&self, sender: Option<&AnyObject>);
    }
);

extern_protocol!(
    /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nsignoremisspelledwords?language=objc)
    pub unsafe trait NSIgnoreMisspelledWords {
        /// # Safety
        ///
        /// `sender` should be of the correct type.
        #[unsafe(method(ignoreSpelling:))]
        #[unsafe(method_family = none)]
        unsafe fn ignoreSpelling(&self, sender: Option<&AnyObject>);
    }
);