UIPageViewControllerDataSource_Extensions UIPageViewControllerDataSource_Extensions Class

Definition

Extension methods to the IUIPageViewControllerDataSource interface to support all the methods from the UIPageViewControllerDataSource protocol.

public static class UIPageViewControllerDataSource_Extensions
type UIPageViewControllerDataSource_Extensions = class
Inheritance
UIPageViewControllerDataSource_ExtensionsUIPageViewControllerDataSource_Extensions

Remarks

The extension methods for IUIPageViewControllerDataSource allow developers to treat instances of the interface as having all the optional methods of the original UIPageViewControllerDataSource protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

GetPresentationCount(IUIPageViewControllerDataSource, UIPageViewController) GetPresentationCount(IUIPageViewControllerDataSource, UIPageViewController)

The number of pages to be shown in the page indicator.

GetPresentationIndex(IUIPageViewControllerDataSource, UIPageViewController) GetPresentationIndex(IUIPageViewControllerDataSource, UIPageViewController)

The index of the page to be highlighted in the page indicator.

Applies to