pub unsafe trait UIViewControllerAnimatedTransitioning: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn transitionDuration(
&self,
transition_context: Option<&ProtocolObject<dyn UIViewControllerContextTransitioning>>,
) -> NSTimeInterval
where Self: Sized + Message { ... }
fn animateTransition(
&self,
transition_context: &ProtocolObject<dyn UIViewControllerContextTransitioning>,
)
where Self: Sized + Message { ... }
fn interruptibleAnimatorForTransition(
&self,
transition_context: &ProtocolObject<dyn UIViewControllerContextTransitioning>,
) -> Retained<ProtocolObject<dyn UIViewImplicitlyAnimating>>
where Self: Sized + Message { ... }
fn animationEnded(&self, transition_completed: bool)
where Self: Sized + Message { ... }
}Available on crate feature
UIViewControllerTransitioning only.Expand description
Provided Methods§
fn transitionDuration( &self, transition_context: Option<&ProtocolObject<dyn UIViewControllerContextTransitioning>>, ) -> NSTimeInterval
fn animateTransition( &self, transition_context: &ProtocolObject<dyn UIViewControllerContextTransitioning>, )
Sourcefn interruptibleAnimatorForTransition(
&self,
transition_context: &ProtocolObject<dyn UIViewControllerContextTransitioning>,
) -> Retained<ProtocolObject<dyn UIViewImplicitlyAnimating>>
Available on crate feature UIViewAnimating only.
fn interruptibleAnimatorForTransition( &self, transition_context: &ProtocolObject<dyn UIViewControllerContextTransitioning>, ) -> Retained<ProtocolObject<dyn UIViewImplicitlyAnimating>>
UIViewAnimating only.A conforming object implements this method if the transition it creates can be interrupted. For example, it could return an instance of a UIViewPropertyAnimator. It is expected that this method will return the same instance for the life of a transition.
fn animationEnded(&self, transition_completed: bool)
Trait Implementations§
Source§impl ProtocolType for dyn UIViewControllerAnimatedTransitioning
impl ProtocolType for dyn UIViewControllerAnimatedTransitioning
impl<T> ImplementedBy<T> for dyn UIViewControllerAnimatedTransitioning
Implementations on Foreign Types§
impl<T> UIViewControllerAnimatedTransitioning for ProtocolObject<T>where
T: ?Sized + UIViewControllerAnimatedTransitioning,
Implementors§
impl UIViewControllerAnimatedTransitioning for UIDocumentBrowserTransitionController
Available on crate feature
UIDocumentBrowserViewController only.impl UIViewControllerAnimatedTransitioning for UISearchController
Available on crate feature
UISearchController only.