Closed antonijap closed 6 years ago
GMSAutocompletePrediction
is defined in GooglePlaces. You can look at their documentation but here are a few properties of that class:
attributedFullText
is the whole prediction String.
attributedPrimaryText
is the first part and
attributedSecondaryText
is the second part.
Example:
Full: Sydney Opera House, Sydney, New South Wales, Australia First part: Sydney Opera House Second part: Sydney, New South Wales, Australia
I might be missing something super clear but when I use
row.value
I get this:I see in source code
GooglePlace
is an enum but I have zero clues how to extract city and country out of this.