objc2-app-kit 0.3.2

Bindings to the AppKit framework
Documentation
1
2
3
4
5
6
7
8
9
use crate::{NSGestureRecognizer, NSGestureRecognizerState};
use objc2::extern_methods;

impl NSGestureRecognizer {
    extern_methods!(
        #[unsafe(method(state))]
        pub fn state(&self) -> NSGestureRecognizerState;
    );
}