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
itemsCountThe 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
indexScrolling to a curretn index item.
animatedTrue if you want to animate the change in position; false if it should be immediate.
PaperOnboarding Class Reference