Configuration

struct Configuration

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

This isn’t created directly, but rather you modify the static instance accessible from TKUISegmentDirectionCard.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])?