pub unsafe trait UIAdaptivePresentationControllerDelegate: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn adaptivePresentationStyleForPresentationController(
        &self,
        controller: &UIPresentationController
    ) -> UIModalPresentationStyle
       where Self: Sized + Message { ... }
    unsafe fn adaptivePresentationStyleForPresentationController_traitCollection(
        &self,
        controller: &UIPresentationController,
        trait_collection: &UITraitCollection
    ) -> UIModalPresentationStyle
       where Self: Sized + Message { ... }
    unsafe fn presentationController_prepareAdaptivePresentationController(
        &self,
        presentation_controller: &UIPresentationController,
        adaptive_presentation_controller: &UIPresentationController
    )
       where Self: Sized + Message { ... }
    unsafe fn presentationController_viewControllerForAdaptivePresentationStyle(
        &self,
        controller: &UIPresentationController,
        style: UIModalPresentationStyle
    ) -> Option<Retained<UIViewController>>
       where Self: Sized + Message { ... }
    unsafe fn presentationController_willPresentWithAdaptiveStyle_transitionCoordinator(
        &self,
        presentation_controller: &UIPresentationController,
        style: UIModalPresentationStyle,
        transition_coordinator: Option<&ProtocolObject<dyn UIViewControllerTransitionCoordinator>>
    )
       where Self: Sized + Message { ... }
    unsafe fn presentationControllerShouldDismiss(
        &self,
        presentation_controller: &UIPresentationController
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn presentationControllerWillDismiss(
        &self,
        presentation_controller: &UIPresentationController
    )
       where Self: Sized + Message { ... }
    unsafe fn presentationControllerDidDismiss(
        &self,
        presentation_controller: &UIPresentationController
    )
       where Self: Sized + Message { ... }
    unsafe fn presentationControllerDidAttemptToDismiss(
        &self,
        presentation_controller: &UIPresentationController
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIPresentationController only.

Provided Methods§

source

unsafe fn adaptivePresentationStyleForPresentationController( &self, controller: &UIPresentationController ) -> UIModalPresentationStyle
where Self: Sized + Message,

Available on crate feature UIViewController only.
source

unsafe fn adaptivePresentationStyleForPresentationController_traitCollection( &self, controller: &UIPresentationController, trait_collection: &UITraitCollection ) -> UIModalPresentationStyle
where Self: Sized + Message,

Available on crate features UITraitCollection and UIViewController only.
source

unsafe fn presentationController_prepareAdaptivePresentationController( &self, presentation_controller: &UIPresentationController, adaptive_presentation_controller: &UIPresentationController )
where Self: Sized + Message,

source

unsafe fn presentationController_viewControllerForAdaptivePresentationStyle( &self, controller: &UIPresentationController, style: UIModalPresentationStyle ) -> Option<Retained<UIViewController>>
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
source

unsafe fn presentationController_willPresentWithAdaptiveStyle_transitionCoordinator( &self, presentation_controller: &UIPresentationController, style: UIModalPresentationStyle, transition_coordinator: Option<&ProtocolObject<dyn UIViewControllerTransitionCoordinator>> )
where Self: Sized + Message,

Available on crate features UIViewController and UIViewControllerTransitionCoordinator only.
source

unsafe fn presentationControllerShouldDismiss( &self, presentation_controller: &UIPresentationController ) -> bool
where Self: Sized + Message,

source

unsafe fn presentationControllerWillDismiss( &self, presentation_controller: &UIPresentationController )
where Self: Sized + Message,

source

unsafe fn presentationControllerDidDismiss( &self, presentation_controller: &UIPresentationController )
where Self: Sized + Message,

source

unsafe fn presentationControllerDidAttemptToDismiss( &self, presentation_controller: &UIPresentationController )
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn UIAdaptivePresentationControllerDelegate

source§

const NAME: &'static str = "UIAdaptivePresentationControllerDelegate"

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 UIAdaptivePresentationControllerDelegate

Implementations on Foreign Types§

source§

impl<T> UIAdaptivePresentationControllerDelegate for ProtocolObject<T>

Implementors§