Configuration

struct Configuration

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

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