title: Warning: incompatible pointer type on updating code
body: <p>I'm trying to get rid of some depricated code for creating an overlay in a MapView and now I'm facingh this warning:</p>
  
  <p>Incompatible pointer types returning 'MKCircleRenderer *' from a function with result type 'MKOverlayView * _Nonnull'</p>
  
  <p>I've read a lot of Q&amp;A's on this matter but until now I was not able to figure it out. What's wrong with my code?</p>
  
  <pre><code>// Create overlay
  -   (MKOverlayView *)mapView:(MKMapView *)mapView viewForOverlay:(id&lt;MKOverlay&gt;)overlay{
  
  MKCircleRenderer *circleView = [[MKCircleRenderer alloc] initWithOverlay:overlay];
  circleView.fillColor = [[UIColor cyanColor]colorWithAlphaComponent:0.5];
  circleView.strokeColor = [[UIColor blueColor]colorWithAlphaComponent:0.8];
  circleView.lineWidth = 1;
  return circleView;
  }
  </code></pre>