FlaneurNavigationBarAction

public struct FlaneurNavigationBarAction

The structure describing:

  • how the associated control should look like
  • what the associated controld should do when tapped
  • Returns an action.

    The associated control will be a UIButton with an image.

    Declaration

    Swift

    public init(faceView: FlaneurNavigationBarActionFaceView, action: @escaping (Any) -> ())

    Parameters

    image

    the face view to be used on the UIButton associated to the action.

    action

    the action to perform when the UIButton receives a .touchUpInside event.