objc2_ui_kit/generated/
UICalendarSelection.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(NSObject))]
12 #[thread_kind = MainThreadOnly]
13 #[derive(Debug, PartialEq, Eq, Hash)]
14 pub struct UICalendarSelection;
15);
16
17unsafe impl NSObjectProtocol for UICalendarSelection {}
18
19impl UICalendarSelection {
20 extern_methods!(
21 #[unsafe(method(updateSelectableDates))]
23 #[unsafe(method_family = none)]
24 pub unsafe fn updateSelectableDates(&self);
25
26 #[unsafe(method(init))]
27 #[unsafe(method_family = init)]
28 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
29
30 #[unsafe(method(new))]
31 #[unsafe(method_family = new)]
32 pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
33 );
34}