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§
unsafe fn animationControllerForPresentedController_presentingController_sourceController( &self, presented: &UIViewController, presenting: &UIViewController, source: &UIViewController, ) -> Option<Retained<ProtocolObject<dyn UIViewControllerAnimatedTransitioning>>>
Available on crate features
UIResponder
and UIViewController
only.unsafe fn animationControllerForDismissedController( &self, dismissed: &UIViewController, ) -> Option<Retained<ProtocolObject<dyn UIViewControllerAnimatedTransitioning>>>
Available on crate features
UIResponder
and UIViewController
only.unsafe fn interactionControllerForPresentation( &self, animator: &ProtocolObject<dyn UIViewControllerAnimatedTransitioning>, ) -> Option<Retained<ProtocolObject<dyn UIViewControllerInteractiveTransitioning>>>
unsafe fn interactionControllerForDismissal( &self, animator: &ProtocolObject<dyn UIViewControllerAnimatedTransitioning>, ) -> Option<Retained<ProtocolObject<dyn UIViewControllerInteractiveTransitioning>>>
unsafe 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.