PaperOnboardingDelegate
public protocol PaperOnboardingDelegate
- The delegate of a PaperOnboarding object must adopt the PaperOnboardingDelegate protocol. Optional methods of the protocol allow the delegate to manage items, configure items, and perform other actions.
-
Tells the delegate that the paperOnbording start scrolling.
Declaration
Swift
func onboardingWillTransitonToIndex(index: Int)
Parameters
index
An curretn index item
-
Tells the delegate that the specified item is now selected
Declaration
Swift
func onboardingDidTransitonToIndex(index: Int)
Parameters
index
An curretn index item
-
Tells the delegate the PaperOnboarding is about to draw a item for a particular row. Use this method for configure items
Declaration
Swift
func onboardingConfigurationItem(item: OnboardingContentViewItem, index: Int)
Parameters
item
A OnboardingContentViewItem object that PaperOnboarding is going to use when drawing the row.
index
An curretn index item