pub unsafe trait UIPageViewControllerDataSource: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn pageViewController_viewControllerBeforeViewController(
        &self,
        page_view_controller: &UIPageViewController,
        view_controller: &UIViewController
    ) -> Option<Retained<UIViewController>>
       where Self: Sized + Message { ... }
    unsafe fn pageViewController_viewControllerAfterViewController(
        &self,
        page_view_controller: &UIPageViewController,
        view_controller: &UIViewController
    ) -> Option<Retained<UIViewController>>
       where Self: Sized + Message { ... }
    unsafe fn presentationCountForPageViewController(
        &self,
        page_view_controller: &UIPageViewController
    ) -> NSInteger
       where Self: Sized + Message { ... }
    unsafe fn presentationIndexForPageViewController(
        &self,
        page_view_controller: &UIPageViewController
    ) -> NSInteger
       where Self: Sized + Message { ... }
}
Available on crate feature UIPageViewController only.

Provided Methods§

source

unsafe fn pageViewController_viewControllerBeforeViewController( &self, page_view_controller: &UIPageViewController, view_controller: &UIViewController ) -> Option<Retained<UIViewController>>
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
source

unsafe fn pageViewController_viewControllerAfterViewController( &self, page_view_controller: &UIPageViewController, view_controller: &UIViewController ) -> Option<Retained<UIViewController>>
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
source

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

Available on crate features UIResponder and UIViewController only.
source

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

Available on crate features UIResponder and UIViewController only.

Trait Implementations§

source§

impl ProtocolType for dyn UIPageViewControllerDataSource

source§

const NAME: &'static str = "UIPageViewControllerDataSource"

The name of the Objective-C protocol that this type represents.
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 UIPageViewControllerDataSource

Implementations on Foreign Types§

source§

impl<T> UIPageViewControllerDataSource for ProtocolObject<T>

Implementors§