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
17extern_conformance!(
18 unsafe impl NSObjectProtocol for UICalendarSelection {}
19);
20
21impl UICalendarSelection {
22 extern_methods!(
23 #[unsafe(method(updateSelectableDates))]
25 #[unsafe(method_family = none)]
26 pub fn updateSelectableDates(&self);
27
28 #[unsafe(method(init))]
29 #[unsafe(method_family = init)]
30 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
31
32 #[unsafe(method(new))]
33 #[unsafe(method_family = new)]
34 pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
35 );
36}