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

    low

    The low photo index that is being swiped. (high - 1)

    high

    The high photo index that is being swiped. (low + 1)

    percent

    The percent swiped between the two indexes.