MimiPagingScrollHandlerDataSource
public protocol MimiPagingScrollHandlerDataSource : AnyObject
Protocol that allows an object to provide transitioning behavior characteristics to a paging scroll handler.
-
Scroll handler requires a view to use for use with a paging transition.
The view provided here will have the appropriate transition effects applied for the current page transition (such as parallax).
Declaration
Swift
func scrollHandler(_ handler: MimiPagingScrollHandler, requiresTransitionViewFor page: Int) -> UIView?
Parameters
handler
Scroll handler.
page
Page to provide view for.