Trait objc2_ui_kit::UICalendarViewDelegate

source ·
pub unsafe trait UICalendarViewDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn calendarView_decorationForDateComponents(
        &self,
        calendar_view: &UICalendarView,
        date_components: &NSDateComponents
    ) -> Option<Retained<UICalendarViewDecoration>>
       where Self: Sized + Message { ... }
    unsafe fn calendarView_didChangeVisibleDateComponentsFrom(
        &self,
        calendar_view: &UICalendarView,
        previous_date_components: &NSDateComponents
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UICalendarView only.

Provided Methods§

source

unsafe fn calendarView_decorationForDateComponents( &self, calendar_view: &UICalendarView, date_components: &NSDateComponents ) -> Option<Retained<UICalendarViewDecoration>>
where Self: Sized + Message,

Available on crate features UICalendarViewDecoration and UIResponder and UIView only.
source

unsafe fn calendarView_didChangeVisibleDateComponentsFrom( &self, calendar_view: &UICalendarView, previous_date_components: &NSDateComponents )
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.

Trait Implementations§

source§

impl ProtocolType for dyn UICalendarViewDelegate

source§

const NAME: &'static str = "UICalendarViewDelegate"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn UICalendarViewDelegate

Implementations on Foreign Types§

source§

impl<T> UICalendarViewDelegate for ProtocolObject<T>

Implementors§