pub unsafe trait UIViewControllerTransitionCoordinatorContext: NSObjectProtocol + MainThreadOnly {
Show 14 methods
// Provided methods
fn isAnimated(&self) -> bool
where Self: Sized + Message { ... }
fn presentationStyle(&self) -> UIModalPresentationStyle
where Self: Sized + Message { ... }
fn initiallyInteractive(&self) -> bool
where Self: Sized + Message { ... }
fn isInterruptible(&self) -> bool
where Self: Sized + Message { ... }
fn isInteractive(&self) -> bool
where Self: Sized + Message { ... }
fn isCancelled(&self) -> bool
where Self: Sized + Message { ... }
fn transitionDuration(&self) -> NSTimeInterval
where Self: Sized + Message { ... }
fn percentComplete(&self) -> CGFloat
where Self: Sized + Message { ... }
fn completionVelocity(&self) -> CGFloat
where Self: Sized + Message { ... }
fn completionCurve(&self) -> UIViewAnimationCurve
where Self: Sized + Message { ... }
fn viewControllerForKey(
&self,
key: &UITransitionContextViewControllerKey,
) -> Option<Retained<UIViewController>>
where Self: Sized + Message { ... }
fn viewForKey(
&self,
key: &UITransitionContextViewKey,
) -> Option<Retained<UIView>>
where Self: Sized + Message { ... }
fn containerView(&self) -> Retained<UIView>
where Self: Sized + Message { ... }
fn targetTransform(&self) -> CGAffineTransform
where Self: Sized + Message { ... }
}Available on crate feature
UIViewControllerTransitionCoordinator only.Expand description
Provided Methods§
fn isAnimated(&self) -> bool
fn presentationStyle(&self) -> UIModalPresentationStyle
Available on crate feature
UIViewController only.Sourcefn initiallyInteractive(&self) -> bool
fn initiallyInteractive(&self) -> bool
initiallyInteractive indicates whether the transition was initiated as an interactive transition. It never changes during the course of a transition. It can only be YES if isAnimated is YES. If it is NO, then isInteractive can only be YES if isInterruptible is YES
fn isInterruptible(&self) -> bool
fn isInteractive(&self) -> bool
fn isCancelled(&self) -> bool
fn transitionDuration(&self) -> NSTimeInterval
fn percentComplete(&self) -> CGFloat
Available on crate feature
objc2-core-foundation only.fn completionVelocity(&self) -> CGFloat
Available on crate feature
objc2-core-foundation only.fn completionCurve(&self) -> UIViewAnimationCurve
Available on crate feature
UIView only.fn viewControllerForKey( &self, key: &UITransitionContextViewControllerKey, ) -> Option<Retained<UIViewController>>
Available on crate features
UIResponder and UIViewController only.fn viewForKey( &self, key: &UITransitionContextViewKey, ) -> Option<Retained<UIView>>
Available on crate features
UIResponder and UIView only.fn containerView(&self) -> Retained<UIView>
Available on crate features
UIResponder and UIView only.fn targetTransform(&self) -> CGAffineTransform
Available on crate feature
objc2-core-foundation only.