pub unsafe trait UIViewControllerContextTransitioning: NSObjectProtocol + MainThreadOnly {
Show 15 methods
// Provided methods
unsafe fn containerView(&self) -> Retained<UIView>
where Self: Sized + Message { ... }
unsafe fn isAnimated(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn isInteractive(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn transitionWasCancelled(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn presentationStyle(&self) -> UIModalPresentationStyle
where Self: Sized + Message { ... }
unsafe fn updateInteractiveTransition(&self, percent_complete: CGFloat)
where Self: Sized + Message { ... }
unsafe fn finishInteractiveTransition(&self)
where Self: Sized + Message { ... }
unsafe fn cancelInteractiveTransition(&self)
where Self: Sized + Message { ... }
unsafe fn pauseInteractiveTransition(&self)
where Self: Sized + Message { ... }
unsafe fn completeTransition(&self, did_complete: bool)
where Self: Sized + Message { ... }
unsafe fn viewControllerForKey(
&self,
key: &UITransitionContextViewControllerKey,
) -> Option<Retained<UIViewController>>
where Self: Sized + Message { ... }
unsafe fn viewForKey(
&self,
key: &UITransitionContextViewKey,
) -> Option<Retained<UIView>>
where Self: Sized + Message { ... }
unsafe fn targetTransform(&self) -> CGAffineTransform
where Self: Sized + Message { ... }
unsafe fn initialFrameForViewController(
&self,
vc: &UIViewController,
) -> CGRect
where Self: Sized + Message { ... }
unsafe fn finalFrameForViewController(
&self,
vc: &UIViewController,
) -> CGRect
where Self: Sized + Message { ... }
}
Available on crate feature
UIViewControllerTransitioning
only.Expand description
Provided Methods§
unsafe fn containerView(&self) -> Retained<UIView>
Available on crate features
UIResponder
and UIView
only.unsafe fn isAnimated(&self) -> bool
unsafe fn isInteractive(&self) -> bool
unsafe fn transitionWasCancelled(&self) -> bool
unsafe fn presentationStyle(&self) -> UIModalPresentationStyle
Available on crate feature
UIViewController
only.unsafe fn updateInteractiveTransition(&self, percent_complete: CGFloat)
Available on crate feature
objc2-core-foundation
only.unsafe fn finishInteractiveTransition(&self)
unsafe fn cancelInteractiveTransition(&self)
unsafe fn pauseInteractiveTransition(&self)
unsafe fn completeTransition(&self, did_complete: bool)
unsafe fn viewControllerForKey( &self, key: &UITransitionContextViewControllerKey, ) -> Option<Retained<UIViewController>>
Available on crate features
UIResponder
and UIViewController
and UIViewControllerTransitionCoordinator
only.unsafe fn viewForKey( &self, key: &UITransitionContextViewKey, ) -> Option<Retained<UIView>>
Available on crate features
UIResponder
and UIView
and UIViewControllerTransitionCoordinator
only.unsafe fn targetTransform(&self) -> CGAffineTransform
Available on crate feature
objc2-core-foundation
only.unsafe fn initialFrameForViewController(&self, vc: &UIViewController) -> CGRect
Available on crate features
UIResponder
and UIViewController
and objc2-core-foundation
only.unsafe fn finalFrameForViewController(&self, vc: &UIViewController) -> CGRect
Available on crate features
UIResponder
and UIViewController
and objc2-core-foundation
only.