FUIWhatsNewViewControllerDataSource
public protocol FUIWhatsNewViewControllerDataSource : AnyObject
This protocol provides the method for the callback function for FUIWhatsNewViewControllerDataSource. It will be used by the application to feed in the data for the view content.
-
Function to get the list of viewcontrollers
The list of view controllers to be displayed in this FUIWhatsNewViewController.
Declaration
Swift
func presentationViewControllers(for whatsNewViewController: FUIWhatsNewViewController) -> [UIViewController]Parameters
whatsNewViewControllerThe FUIWhatsNewViewController.
Return Value
The list of controllers to be displayed.
-
Function to get the presentation page index.
Declaration
Swift
func presentationIndex(for whatsNewViewController: FUIWhatsNewViewController) -> IntParameters
whatsNewViewControllerReturn Value
the current page index.