Trait UIViewControllerContextTransitioning

Source
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§

Source

unsafe fn containerView(&self) -> Retained<UIView>
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.
Source

unsafe fn isAnimated(&self) -> bool
where Self: Sized + Message,

Source

unsafe fn isInteractive(&self) -> bool
where Self: Sized + Message,

Source

unsafe fn transitionWasCancelled(&self) -> bool
where Self: Sized + Message,

Source

unsafe fn presentationStyle(&self) -> UIModalPresentationStyle
where Self: Sized + Message,

Available on crate feature UIViewController only.
Source

unsafe fn updateInteractiveTransition(&self, percent_complete: CGFloat)
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

unsafe fn finishInteractiveTransition(&self)
where Self: Sized + Message,

Source

unsafe fn cancelInteractiveTransition(&self)
where Self: Sized + Message,

Source

unsafe fn pauseInteractiveTransition(&self)
where Self: Sized + Message,

Source

unsafe fn completeTransition(&self, did_complete: bool)
where Self: Sized + Message,

Source

unsafe fn viewControllerForKey( &self, key: &UITransitionContextViewControllerKey, ) -> Option<Retained<UIViewController>>
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController and UIViewControllerTransitionCoordinator only.
Source

unsafe fn viewForKey( &self, key: &UITransitionContextViewKey, ) -> Option<Retained<UIView>>
where Self: Sized + Message,

Available on crate features UIResponder and UIView and UIViewControllerTransitionCoordinator only.
Source

unsafe fn targetTransform(&self) -> CGAffineTransform
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

unsafe fn initialFrameForViewController(&self, vc: &UIViewController) -> CGRect
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController and objc2-core-foundation only.
Source

unsafe fn finalFrameForViewController(&self, vc: &UIViewController) -> CGRect
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController and objc2-core-foundation only.

Trait Implementations§

Source§

impl ProtocolType for dyn UIViewControllerContextTransitioning

Source§

const NAME: &'static str = "UIViewControllerContextTransitioning"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn UIViewControllerContextTransitioning

Implementations on Foreign Types§

Source§

impl<T> UIViewControllerContextTransitioning for ProtocolObject<T>

Implementors§