ComponentAction

public enum ComponentAction

Actions that can be triggered by component view models

  • Undocumented

    Declaration

    Swift

    case push(TGCard, selection: MKAnnotation? = nil)
  • Undocumented

    Declaration

    Swift

    case present(UIViewController, inNavigationController: Bool = false)
  • Use this for the home card to decide what to do when selecing the provided annotation by the provided component. The home card will take action according to how it’s selectionMode is set.

    Declaration

    Swift

    case handleSelection(MKAnnotation, component: TKUIHomeComponentViewModel? = nil)
  • Shows the user interface to customize the home card, which let’s users re-order and toggle individual home card components.

    Declaration

    Swift

    case showCustomizer
  • Hides the home card component of the matching identifier.

    Declaration

    Swift

    case hideSection(identifier: String)
  • Undocumented

    Declaration

    Swift

    case success