title: How to Zoom Map to my annotation placemark - Swift
body: <p>I have one class that has all the MapKit functions and another class where I call the MapKit. My goal is to give an address (String) and the map show a placemark with zoom to that location.</p>
  
  <p>So far I managed to get the map working and the placemark is in the right street, but dont zoom to the placemark location.</p>
  
  <p>Map is declared like:
  <code>@IBOutlet var mapPreview: MKMapView!</code></p>
  
  <p>Here is the code of the placemark. How can I zoom to that placemark?</p>
  
  <pre><code>    var address = restaurante.rua + " " + restaurante.numero + "," + restaurante.localidade + ", Portugal"
      var geocoder = CLGeocoder()
      geocoder.geocodeAddressString(address, completionHandler: {(placemarks: [AnyObject]!, error: NSError!) -&gt; Void in
          if let placemark = placemarks?[0] as? CLPlacemark {
              self.mapPreview.addAnnotation(MKPlacemark(placemark: placemark))
  </code></pre>