PaperOnboarding

public class PaperOnboarding: UIView

An instance of PaperOnboarding which display collection of information.

  • The object that acts as the data source of the PaperOnboardingDataSource.

    Declaration

    Swift

    @IBOutlet public var dataSource: AnyObject?
  • The object that acts as the delegate of the PaperOnboarding. PaperOnboardingDelegate protocol

    Declaration

    Swift

    @IBOutlet public var delegate: AnyObject?
  • current index item

    Declaration

    Swift

    public private(set) var currentIndex: Int = 0
  • Initializes and returns a PaperOnboarding object with items count.

    Declaration

    Swift

    public init(itemsCount: Int = 3)

    Parameters

    itemsCount

    The number of items in PaperOnboarding.

    Return Value

    Returns an initialized PaperOnboading object

  • Scrolls through the PaperOnboarding until a index is at a particular location on the screen.

    Declaration

    Swift

    func currentIndex(index: Int, animated: Bool)

    Parameters

    index

    Scrolling to a curretn index item.

    animated

    True if you want to animate the change in position; false if it should be immediate.