objc2_ui_kit/generated/
UISpringLoadedInteractionSupporting.rs1use core::ffi::*;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8extern_protocol!(
9 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 #[unsafe(method(setSpringLoaded:))]
19 #[unsafe(method_family = none)]
20 unsafe fn setSpringLoaded(&self, spring_loaded: bool);
21 }
22);