Trait UIPageViewControllerDelegate

Source
pub unsafe trait UIPageViewControllerDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    unsafe fn pageViewController_willTransitionToViewControllers(
        &self,
        page_view_controller: &UIPageViewController,
        pending_view_controllers: &NSArray<UIViewController>,
    )
       where Self: Sized + Message { ... }
    unsafe fn pageViewController_didFinishAnimating_previousViewControllers_transitionCompleted(
        &self,
        page_view_controller: &UIPageViewController,
        finished: bool,
        previous_view_controllers: &NSArray<UIViewController>,
        completed: bool,
    )
       where Self: Sized + Message { ... }
    unsafe fn pageViewController_spineLocationForInterfaceOrientation(
        &self,
        page_view_controller: &UIPageViewController,
        orientation: UIInterfaceOrientation,
    ) -> UIPageViewControllerSpineLocation
       where Self: Sized + Message { ... }
    unsafe fn pageViewControllerSupportedInterfaceOrientations(
        &self,
        page_view_controller: &UIPageViewController,
    ) -> UIInterfaceOrientationMask
       where Self: Sized + Message { ... }
    unsafe fn pageViewControllerPreferredInterfaceOrientationForPresentation(
        &self,
        page_view_controller: &UIPageViewController,
    ) -> UIInterfaceOrientation
       where Self: Sized + Message { ... }
}
Available on crate feature UIPageViewController only.
Expand description

Provided Methods§

Source

unsafe fn pageViewController_willTransitionToViewControllers( &self, page_view_controller: &UIPageViewController, pending_view_controllers: &NSArray<UIViewController>, )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn pageViewController_didFinishAnimating_previousViewControllers_transitionCompleted( &self, page_view_controller: &UIPageViewController, finished: bool, previous_view_controllers: &NSArray<UIViewController>, completed: bool, )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn pageViewController_spineLocationForInterfaceOrientation( &self, page_view_controller: &UIPageViewController, orientation: UIInterfaceOrientation, ) -> UIPageViewControllerSpineLocation
where Self: Sized + Message,

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

unsafe fn pageViewControllerSupportedInterfaceOrientations( &self, page_view_controller: &UIPageViewController, ) -> UIInterfaceOrientationMask
where Self: Sized + Message,

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

unsafe fn pageViewControllerPreferredInterfaceOrientationForPresentation( &self, page_view_controller: &UIPageViewController, ) -> UIInterfaceOrientation
where Self: Sized + Message,

Available on crate features UIOrientation and UIResponder and UIViewController only.

Trait Implementations§

Source§

impl ProtocolType for dyn UIPageViewControllerDelegate

Source§

const NAME: &'static str = "UIPageViewControllerDelegate"

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 UIPageViewControllerDelegate

Implementations on Foreign Types§

Source§

impl<T> UIPageViewControllerDelegate for ProtocolObject<T>

Implementors§