SGAutocompletionDataSource

extension SGAutocompletionDataSource
  • Declaration

    Swift

    public convenience init(autocompleters: [TKAutocompleting])
  • Declaration

    Swift

    @objc(prepareForNewSearchForMapRect:)
    public func prepareForNewSearch(for mapRect: MKMapRect)
  • Kicks off autocompletion. If it found something interesting, autocompletionUpdated will fire, so make sure you observe that.

    Declaration

    Swift

    public func autocomplete(_ input: String)

    Parameters

    input

    Search string

  • Declaration

    Swift

    public var autocompletionUpdated: Driver<Void> { get }
  • Declaration

    Swift

    @objc
    public var startedTyping: Bool { get }
  • Declaration

    Swift

    @objc
    public var autocompletionResults: [TKAutocompletionResult] { get }
  • Declaration

    Swift

    @objc(additionalActionsForPresenter:)
    public func additionalActions(for presenter: UIViewController) -> [String]

Selections