AXOverlayTitleViewProtocol
protocol AXOverlayTitleViewProtocol : NSObjectProtocol
AXOverlayTitleViewProtocol
-
This method is called by the
AXOverlayView‘s toolbar in order to size the view appropriately for display.Declaration
Swift
func sizeToFit() -
Called when swipe progress between photos is updated. This method can be implemented to update your [progressive] title view with a new position.
Declaration
Swift
func tweenBetweenLowIndex(_ low: Int, highIndex high: Int, percent: CGFloat)Parameters
lowThe low photo index that is being swiped. (high - 1)
highThe high photo index that is being swiped. (low + 1)
percentThe percent swiped between the two indexes.
View on GitHub
AXOverlayTitleViewProtocol Protocol Reference