Trait UIViewControllerTransitioningDelegate

Source
pub unsafe trait UIViewControllerTransitioningDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    unsafe fn animationControllerForPresentedController_presentingController_sourceController(
        &self,
        presented: &UIViewController,
        presenting: &UIViewController,
        source: &UIViewController,
    ) -> Option<Retained<ProtocolObject<dyn UIViewControllerAnimatedTransitioning>>>
       where Self: Sized + Message { ... }
    unsafe fn animationControllerForDismissedController(
        &self,
        dismissed: &UIViewController,
    ) -> Option<Retained<ProtocolObject<dyn UIViewControllerAnimatedTransitioning>>>
       where Self: Sized + Message { ... }
    unsafe fn interactionControllerForPresentation(
        &self,
        animator: &ProtocolObject<dyn UIViewControllerAnimatedTransitioning>,
    ) -> Option<Retained<ProtocolObject<dyn UIViewControllerInteractiveTransitioning>>>
       where Self: Sized + Message { ... }
    unsafe fn interactionControllerForDismissal(
        &self,
        animator: &ProtocolObject<dyn UIViewControllerAnimatedTransitioning>,
    ) -> Option<Retained<ProtocolObject<dyn UIViewControllerInteractiveTransitioning>>>
       where Self: Sized + Message { ... }
    unsafe fn presentationControllerForPresentedViewController_presentingViewController_sourceViewController(
        &self,
        presented: &UIViewController,
        presenting: Option<&UIViewController>,
        source: &UIViewController,
    ) -> Option<Retained<UIPresentationController>>
       where Self: Sized + Message { ... }
}
Available on crate feature UIViewControllerTransitioning only.
Expand description

Provided Methods§

Source

unsafe fn animationControllerForPresentedController_presentingController_sourceController( &self, presented: &UIViewController, presenting: &UIViewController, source: &UIViewController, ) -> Option<Retained<ProtocolObject<dyn UIViewControllerAnimatedTransitioning>>>
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn animationControllerForDismissedController( &self, dismissed: &UIViewController, ) -> Option<Retained<ProtocolObject<dyn UIViewControllerAnimatedTransitioning>>>
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn interactionControllerForPresentation( &self, animator: &ProtocolObject<dyn UIViewControllerAnimatedTransitioning>, ) -> Option<Retained<ProtocolObject<dyn UIViewControllerInteractiveTransitioning>>>
where Self: Sized + Message,

Source

unsafe fn interactionControllerForDismissal( &self, animator: &ProtocolObject<dyn UIViewControllerAnimatedTransitioning>, ) -> Option<Retained<ProtocolObject<dyn UIViewControllerInteractiveTransitioning>>>
where Self: Sized + Message,

Source

unsafe fn presentationControllerForPresentedViewController_presentingViewController_sourceViewController( &self, presented: &UIViewController, presenting: Option<&UIViewController>, source: &UIViewController, ) -> Option<Retained<UIPresentationController>>
where Self: Sized + Message,

Available on crate features UIPresentationController and UIResponder and UIViewController only.

Trait Implementations§

Source§

impl ProtocolType for dyn UIViewControllerTransitioningDelegate

Source§

const NAME: &'static str = "UIViewControllerTransitioningDelegate"

The name of the Objective-C protocol that this type represents. Read more
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 UIViewControllerTransitioningDelegate

Implementations on Foreign Types§

Source§

impl<T> UIViewControllerTransitioningDelegate for ProtocolObject<T>

Implementors§

Source§

impl UIViewControllerTransitioningDelegate for UISearchController

Available on crate feature UISearchController only.