UIViewControllerTransitioningDelegate

Trait UIViewControllerTransitioningDelegate 

Source
pub unsafe trait UIViewControllerTransitioningDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn animationControllerForPresentedController_presentingController_sourceController(
        &self,
        presented: &UIViewController,
        presenting: &UIViewController,
        source: &UIViewController,
    ) -> Option<Retained<ProtocolObject<dyn UIViewControllerAnimatedTransitioning>>>
       where Self: Sized + Message { ... }
    fn animationControllerForDismissedController(
        &self,
        dismissed: &UIViewController,
    ) -> Option<Retained<ProtocolObject<dyn UIViewControllerAnimatedTransitioning>>>
       where Self: Sized + Message { ... }
    fn interactionControllerForPresentation(
        &self,
        animator: &ProtocolObject<dyn UIViewControllerAnimatedTransitioning>,
    ) -> Option<Retained<ProtocolObject<dyn UIViewControllerInteractiveTransitioning>>>
       where Self: Sized + Message { ... }
    fn interactionControllerForDismissal(
        &self,
        animator: &ProtocolObject<dyn UIViewControllerAnimatedTransitioning>,
    ) -> Option<Retained<ProtocolObject<dyn UIViewControllerInteractiveTransitioning>>>
       where Self: Sized + Message { ... }
    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§

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.