From 99ecb6ae399dd0e9c820d6ebb2fdfa83c1d99cc3 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Tue, 14 Nov 2023 15:26:17 -0700 Subject: [PATCH] Updated us-autocomplete sdk example to show the correct format for prefered city --- .../Sources/swiftExamples/USAutocompleteProExample.swift | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/samples/Sources/swiftExamples/USAutocompleteProExample.swift b/samples/Sources/swiftExamples/USAutocompleteProExample.swift index 1be0009..12f49b7 100644 --- a/samples/Sources/swiftExamples/USAutocompleteProExample.swift +++ b/samples/Sources/swiftExamples/USAutocompleteProExample.swift @@ -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