CariocaGestureManagerDelegate

protocol CariocaGestureManagerDelegate: class

Forwards the events between CariocaMenu and CariocaGestureManager

  • The selected index

    Declaration

    Swift

    var selectedIndex: Int
  • Menu will open

    Declaration

    Swift

    func willOpenFromEdge(edge: UIRectEdge)

    Parameters

    edge

    The opening edge of the menu

  • The selection index was updated

    Declaration

    Swift

    func didUpdateSelectionIndex(_ index: Int, selectionFeedback: Bool)

    Parameters

    index

    The updated selection index

    selectionFeedback

    Should we make a selection feedback

  • The user did select an item at index

    Declaration

    Swift

    func didSelectItem(at index: Int)