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§
fn animationControllerForPresentedController_presentingController_sourceController( &self, presented: &UIViewController, presenting: &UIViewController, source: &UIViewController, ) -> Option<Retained<ProtocolObject<dyn UIViewControllerAnimatedTransitioning>>>
Available on crate features
UIResponder and UIViewController only.fn animationControllerForDismissedController( &self, dismissed: &UIViewController, ) -> Option<Retained<ProtocolObject<dyn UIViewControllerAnimatedTransitioning>>>
Available on crate features
UIResponder and UIViewController only.fn interactionControllerForPresentation( &self, animator: &ProtocolObject<dyn UIViewControllerAnimatedTransitioning>, ) -> Option<Retained<ProtocolObject<dyn UIViewControllerInteractiveTransitioning>>>
fn interactionControllerForDismissal( &self, animator: &ProtocolObject<dyn UIViewControllerAnimatedTransitioning>, ) -> Option<Retained<ProtocolObject<dyn UIViewControllerInteractiveTransitioning>>>
fn presentationControllerForPresentedViewController_presentingViewController_sourceViewController( &self, presented: &UIViewController, presenting: Option<&UIViewController>, source: &UIViewController, ) -> Option<Retained<UIPresentationController>>
Available on crate features
UIPresentationController and UIResponder and UIViewController only.Trait Implementations§
Source§impl ProtocolType for dyn UIViewControllerTransitioningDelegate
impl ProtocolType for dyn UIViewControllerTransitioningDelegate
impl<T> ImplementedBy<T> for dyn UIViewControllerTransitioningDelegate
Implementations on Foreign Types§
impl<T> UIViewControllerTransitioningDelegate for ProtocolObject<T>where
T: ?Sized + UIViewControllerTransitioningDelegate,
Implementors§
impl UIViewControllerTransitioningDelegate for UISearchController
Available on crate feature
UISearchController only.