objc2-foundation 0.3.2

Bindings to the Foundation framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;

use crate::*;

extern_protocol!(
    /// [Apple's documentation](https://developer.apple.com/documentation/foundation/nsextensionrequesthandling?language=objc)
    pub unsafe trait NSExtensionRequestHandling: NSObjectProtocol {
        #[cfg(feature = "NSExtensionContext")]
        #[unsafe(method(beginRequestWithExtensionContext:))]
        #[unsafe(method_family = none)]
        fn beginRequestWithExtensionContext(&self, context: &NSExtensionContext);
    }
);