title: How to geocode address by google maps iOS API?
body: <p>I found one way to send request:</p>
  
  <blockquote>
    <p>A Google Maps Geocoding API request takes the following form:</p>
    
    <p><a href="https://maps.googleapis.com/maps/api/geocode/outputFormat?parameters" rel="noreferrer">https://maps.googleapis.com/maps/api/geocode/outputFormat?parameters</a>
    where outputFormat may be either of the following values:</p>
    
    <p>json (recommended) indicates output in JavaScript Object Notation
    (JSON); or xml indicates output in XML To access the Google Maps
    Geocoding API over HTTP, use:</p>
  </blockquote>
  
  <p>But it's really inconvenient, is there any native way in swift?</p>
  
  <p>I looked into GMSGeocoder interface and only reverse geocoding can be done by it's API.</p>