title: Converting View Points to MKMapView Coordinates
body: <p>My objective is to convert the top left and bottom right points of my view to lat/lon coordinates. These lat/lon coordinates will be used to query annotation locations that only exist within the view (not all 5000+).</p>
  
  <p>I found this <a href="http://stackoverflow.com/questions/1831634/how-to-get-left-top-and-right-buttom-latitude-and-longitude-of-map-in-mapkit">Objective-C tip on Stackoverflow</a>. But the issue I have is that it is converting 0,0 from the mapView (a lat/lon of -180,-180. Aka, the Southpole).</p>
  
  <p>So instead of:</p>
  
  <pre><code>topLeft = mapView.convertPoint(CGPointMake(0, 0), toCoordinateFromView: self.mapView)
  </code></pre>
  
  <p>I figured I could simply do:</p>
  
  <pre><code>topLeft = view.convertPoint(CGPointMake(0, 0), toCoordinateFromView: self.mapView)
  </code></pre>
  
  <p>But I get the error: </p>
  
  <blockquote>
    <p>Cannot invoke 'convertPoint' with an argument list of type '(CGPoint,
    toCoordinateFromView: MKMapView!)'</p>
  </blockquote>
  
  <p>I have spent a day trying to figure it out, but to no avail, and I have come to you seeking guidance. Any help would be much appreciated.</p>
  
  <p>Here is the complete function:</p>
  
  <pre><code>func findCornerLocations(){
  
      var topLeft = CLLocationCoordinate2D()
      let mapView = MKMapView()
      topLeft = view.convertPoint(CGPointMake(0, 0), toCoordinateFromView: self.mapView)
  
      print(topLeft.latitude, topLeft.longitude)
  }
  </code></pre>