title: How to implement auto-complete for address using Apple Map Kit
body: <p>I want to auto-complete the address for the user as same as what google api provides in this link:</p>
  
  <p><a href="https://developers.google.com/maps/documentation/javascript/places-autocomplete?hl=en" rel="noreferrer">https://developers.google.com/maps/documentation/javascript/places-autocomplete?hl=en</a></p>
  
  <p>How can i implement the same functionality using apple map kit?</p>
  
  <p>I have tried to use the Geo Coder, i wrote this for example:</p>
  
  <pre><code>@IBAction func SubmitGeoCode(sender: AnyObject) {
  
      let address = "1 Mart"
      let coder = CLGeocoder()
  
      coder.geocodeAddressString(address) { (placemarks, error) -&gt; Void in
  
          for placemark in placemarks! {
  
              let lines = placemark.addressDictionary?["FormattedAddressLines"] as? [String]
  
              for addressline in lines! {
                  print(addressline)
              }
          }
      }
  }
  </code></pre>
  
  <p>However the results are very disappointing.</p>
  
  <p>Any Apple APIs available to implement such functionality, or should i head for google api ?</p>
  
  <p>Thank you</p>