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§
unsafe fn pageViewController_viewControllerBeforeViewController( &self, page_view_controller: &UIPageViewController, view_controller: &UIViewController ) -> Option<Retained<UIViewController>>
Available on crate features
UIResponder
and UIViewController
only.unsafe fn pageViewController_viewControllerAfterViewController( &self, page_view_controller: &UIPageViewController, view_controller: &UIViewController ) -> Option<Retained<UIViewController>>
Available on crate features
UIResponder
and UIViewController
only.unsafe fn presentationCountForPageViewController( &self, page_view_controller: &UIPageViewController ) -> NSInteger
Available on crate features
UIResponder
and UIViewController
only.unsafe fn presentationIndexForPageViewController( &self, page_view_controller: &UIPageViewController ) -> NSInteger
Available on crate features
UIResponder
and UIViewController
only.