PaperOnboardingDataSource

public protocol PaperOnboardingDataSource
  • The PaperOnboardingDataSource protocol is adopted by an object that mediates the application’™s data model for a PaperOnboarding object. The data source information it needs to construct and modify a PaperOnboarding.
  • Asks the data source to return the number of items.

    Declaration

    Swift

    func onboardingItemsCount() -> Int

    Parameters

    index

    An index of item in PaperOnboarding.

    Return Value

    The number of items in PaperOnboarding.

  • Asks the data source for configureation item.

    Declaration

    Swift

    func onboardingItemAtIndex(index: Int) -> OnboardingItemInfo

    Parameters

    index

    An index of item in PaperOnboarding.

    Return Value

    configuration info for item