Trait UIViewControllerTransitionCoordinatorContext

Source
pub unsafe trait UIViewControllerTransitionCoordinatorContext: NSObjectProtocol + MainThreadOnly {
Show 14 methods // Provided methods unsafe fn isAnimated(&self) -> bool where Self: Sized + Message { ... } unsafe fn presentationStyle(&self) -> UIModalPresentationStyle where Self: Sized + Message { ... } unsafe fn initiallyInteractive(&self) -> bool where Self: Sized + Message { ... } unsafe fn isInterruptible(&self) -> bool where Self: Sized + Message { ... } unsafe fn isInteractive(&self) -> bool where Self: Sized + Message { ... } unsafe fn isCancelled(&self) -> bool where Self: Sized + Message { ... } unsafe fn transitionDuration(&self) -> NSTimeInterval where Self: Sized + Message { ... } unsafe fn percentComplete(&self) -> CGFloat where Self: Sized + Message { ... } unsafe fn completionVelocity(&self) -> CGFloat where Self: Sized + Message { ... } unsafe fn completionCurve(&self) -> UIViewAnimationCurve 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 containerView(&self) -> Retained<UIView> where Self: Sized + Message { ... } unsafe fn targetTransform(&self) -> CGAffineTransform where Self: Sized + Message { ... }
}
Available on crate feature UIViewControllerTransitionCoordinator only.
Expand description

Provided Methods§

Source

unsafe fn isAnimated(&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 initiallyInteractive(&self) -> bool
where Self: Sized + Message,

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

Source

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

Source

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

Source

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

Source

unsafe fn transitionDuration(&self) -> NSTimeInterval
where Self: Sized + Message,

Source

unsafe fn percentComplete(&self) -> CGFloat
where Self: Sized + Message,

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

unsafe fn completionVelocity(&self) -> CGFloat
where Self: Sized + Message,

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

unsafe fn completionCurve(&self) -> UIViewAnimationCurve
where Self: Sized + Message,

Available on crate feature UIView only.
Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIView only.
Source

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

Available on crate features UIResponder and UIView only.
Source

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

Available on crate feature objc2-core-foundation only.

Trait Implementations§

Source§

impl ProtocolType for dyn UIViewControllerTransitionCoordinatorContext

Source§

const NAME: &'static str = "UIViewControllerTransitionCoordinatorContext"

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 UIViewControllerTransitionCoordinatorContext

Implementations on Foreign Types§

Source§

impl<T> UIViewControllerTransitionCoordinatorContext for ProtocolObject<T>

Implementors§