Skip to content

Commit

Permalink
Added new fields for International Autocomplete.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Amundson committed Jul 2, 2024
1 parent 9c87a84 commit 50c25d4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import Foundation
public var street:String?
public var locality:String?
public var administrativeArea:String?
public var administrativeAreaShort:String?
public var administrativeAreaLong:String?
public var postalCode:String?
public var countryISO3:String?
public var entries:Int?
Expand All @@ -18,6 +20,8 @@ import Foundation
case street = "street"
case locality = "locality"
case administrativeArea = "administrative_area"
case administrativeAreaShort = "administrative_area_short"
case administrativeAreaLong = "administrative_area_long"
case postalCode = "postal_code"
case countryISO3 = "country_iso3"
case entries = "entries"
Expand All @@ -29,6 +33,8 @@ import Foundation
self.street = dictionary["street"] as? String
self.locality = dictionary["locality"] as? String
self.administrativeArea = dictionary["administrative_area"] as? String
self.administrativeAreaShort = dictionary["administrative_area_short"] as? String
self.administrativeAreaLong = dictionary["administrative_area_long"] as? String
self.postalCode = dictionary["postal_code"] as? String
self.countryISO3 = dictionary["country_iso3"] as? String
self.entries = dictionary["entries"] as? Int
Expand Down

0 comments on commit 50c25d4

Please sign in to comment.