Skip to content

Commit

Permalink
Updated us-autocomplete sdk example to show the correct format for pr…
Browse files Browse the repository at this point in the history
…efered city
  • Loading branch information
andrewjohnsonsmarty committed Nov 14, 2023
1 parent 096e03a commit 99ecb6a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions samples/Sources/swiftExamples/USAutocompleteProExample.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ class USAutocompleteProExample {
output.append("\nResult with filters:\n")

////////////////////// Can be sent with or without the following fields //////////////////////
lookup.addCityFilter(city: "Denver")
lookup.addCityFilter(city: "Orem")
lookup.addStateFilter(state: "UT")
lookup.addStateFilter(state: "CO")
lookup.addCityFilter(city: "Denver,Aurora,CO")
lookup.addCityFilter(city: "Orem,UT")
lookup.addPreferCity(city: "Orem")
lookup.addPreferState(state: "UT")
lookup.maxResults = 5
Expand Down

0 comments on commit 99ecb6a

Please sign in to comment.