TKUIRoutingQueryInputCard

@MainActor
public class TKUIRoutingQueryInputCard : TKUITableCard
extension TKUIRoutingQueryInputCard: UITableViewDelegate

An interactive card for searching for from and to locations.

Can be used standalone and is also integrated into TKUIRoutingResultsCard.

When using standalone, you can provide a queryDelegate to determine what to do when the “Route” button is pressed. Otherwise, a TKUIRoutingResultsCard will be pushed onto the card stack.

  • Undocumented

    Declaration

    Swift

    @MainActor
    public weak var queryDelegate: TKUIRoutingQueryInputCardDelegate?
  • Undocumented

    Declaration

    Swift

    @MainActor
    public init(origin: MKAnnotation? = nil, destination: MKAnnotation? = nil, biasMapRect: MKMapRect)
  • Declaration

    Swift

    @MainActor
    override public func didBuild(tableView: UITableView)
  • Declaration

    Swift

    @MainActor
    public override func willAppear(animated: Bool)
  • Declaration

    Swift

    @MainActor
    public override func didAppear(animated: Bool)
  • Declaration

    Swift

    @MainActor
    public override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?)
  • Declaration

    Swift

    @MainActor
    public override var preferredView: UIView? { get }
  • Undocumented

    Declaration

    Swift

    @MainActor
    public override var keyCommands: [UIKeyCommand]? { get }
  • Undocumented

    Declaration

    Swift

    @MainActor
    public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
  • Undocumented

    Declaration

    Swift

    @MainActor
    public func scrollViewDidScroll(_ scrollView: UIScrollView)