objc2_ui_kit/generated/
UISpringLoadedInteractionSupporting.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ffi::*;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8extern_protocol!(
9    /// [Apple's documentation](https://developer.apple.com/documentation/uikit/uispringloadedinteractionsupporting?language=objc)
10    pub unsafe trait UISpringLoadedInteractionSupporting:
11        NSObjectProtocol + MainThreadOnly
12    {
13        #[unsafe(method(isSpringLoaded))]
14        #[unsafe(method_family = none)]
15        unsafe fn isSpringLoaded(&self) -> bool;
16
17        /// Setter for [`isSpringLoaded`][Self::isSpringLoaded].
18        #[unsafe(method(setSpringLoaded:))]
19        #[unsafe(method_family = none)]
20        unsafe fn setSpringLoaded(&self, spring_loaded: bool);
21    }
22);