Skip to main content

UIViewControllerTransitionCoordinator

Trait UIViewControllerTransitionCoordinator 

Source
pub unsafe trait UIViewControllerTransitionCoordinator: UIViewControllerTransitionCoordinatorContext + MainThreadOnly {
    // Provided methods
    fn animateAlongsideTransition_completion(
        &self,
        animation: Option<&DynBlock<dyn Fn(NonNull<ProtocolObject<dyn UIViewControllerTransitionCoordinatorContext>>)>>,
        completion: Option<&DynBlock<dyn Fn(NonNull<ProtocolObject<dyn UIViewControllerTransitionCoordinatorContext>>)>>,
    ) -> bool
       where Self: Sized + Message { ... }
    fn animateAlongsideTransitionInView_animation_completion(
        &self,
        view: Option<&UIView>,
        animation: Option<&DynBlock<dyn Fn(NonNull<ProtocolObject<dyn UIViewControllerTransitionCoordinatorContext>>)>>,
        completion: Option<&DynBlock<dyn Fn(NonNull<ProtocolObject<dyn UIViewControllerTransitionCoordinatorContext>>)>>,
    ) -> bool
       where Self: Sized + Message { ... }
    fn notifyWhenInteractionEndsUsingBlock(
        &self,
        handler: &DynBlock<dyn Fn(NonNull<ProtocolObject<dyn UIViewControllerTransitionCoordinatorContext>>)>,
    )
       where Self: Sized + Message { ... }
    fn notifyWhenInteractionChangesUsingBlock(
        &self,
        handler: &DynBlock<dyn Fn(NonNull<ProtocolObject<dyn UIViewControllerTransitionCoordinatorContext>>)>,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIViewControllerTransitionCoordinator only.
Expand description

Provided Methods§

Source

fn animateAlongsideTransition_completion( &self, animation: Option<&DynBlock<dyn Fn(NonNull<ProtocolObject<dyn UIViewControllerTransitionCoordinatorContext>>)>>, completion: Option<&DynBlock<dyn Fn(NonNull<ProtocolObject<dyn UIViewControllerTransitionCoordinatorContext>>)>>, ) -> bool
where Self: Sized + Message,

Available on crate feature block2 only.
Source

fn animateAlongsideTransitionInView_animation_completion( &self, view: Option<&UIView>, animation: Option<&DynBlock<dyn Fn(NonNull<ProtocolObject<dyn UIViewControllerTransitionCoordinatorContext>>)>>, completion: Option<&DynBlock<dyn Fn(NonNull<ProtocolObject<dyn UIViewControllerTransitionCoordinatorContext>>)>>, ) -> bool
where Self: Sized + Message,

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

fn notifyWhenInteractionEndsUsingBlock( &self, handler: &DynBlock<dyn Fn(NonNull<ProtocolObject<dyn UIViewControllerTransitionCoordinatorContext>>)>, )
where Self: Sized + Message,

👎Deprecated
Available on crate feature block2 only.
Source

fn notifyWhenInteractionChangesUsingBlock( &self, handler: &DynBlock<dyn Fn(NonNull<ProtocolObject<dyn UIViewControllerTransitionCoordinatorContext>>)>, )
where Self: Sized + Message,

Available on crate feature block2 only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UIViewControllerTransitionCoordinator

Source§

impl ProtocolType for dyn UIViewControllerTransitionCoordinator

Source§

const NAME: &'static str = "UIViewControllerTransitionCoordinator"

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> UIViewControllerTransitionCoordinator for ProtocolObject<T>

Implementors§