Trait UIViewControllerTransitionCoordinator

Source
pub unsafe trait UIViewControllerTransitionCoordinator: UIViewControllerTransitionCoordinatorContext + MainThreadOnly {
    // Provided methods
    unsafe 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 { ... }
    unsafe 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 { ... }
    unsafe fn notifyWhenInteractionEndsUsingBlock(
        &self,
        handler: &DynBlock<dyn Fn(NonNull<ProtocolObject<dyn UIViewControllerTransitionCoordinatorContext>>)>,
    )
       where Self: Sized + Message { ... }
    unsafe 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

unsafe 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

unsafe 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 UIResponder and UIView and block2 only.
Source

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

👎Deprecated
Available on crate feature block2 only.
Source

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

impl<T> ImplementedBy<T> for dyn UIViewControllerTransitionCoordinator

Implementations on Foreign Types§

Source§

impl<T> UIViewControllerTransitionCoordinator for ProtocolObject<T>

Implementors§