Configuration

struct Configuration

Configuration of any TKUISegmentDirectionCard. Use this to add custom actions.

This isn’t created directly, but rather you modify the static instance accessible from TKUISegmentDirectionsCard.config.

Customising direction view actions

  • Set this to add a list of action buttons to a direction card.

    Called when a direction card gets presented.

    Declaration

    Swift

    public var actionFactory: ((TKSegment) -> [Action])?