         return nil
     }
     
-    public func mapView(mapView: MKMapView, didAddAnnotationViews views: [MKAnnotationView]) {
+    public func mapView(_ mapView: MKMapView, didAdd views: [MKAnnotationView]) {
         
         if self.animateAnnotations {
             for view in views {

        })
    }
    
    private func addAnimation(view: UIView) {
        view.transform = CGAffineTransformScale(CGAffineTransformIdentity, 0.05, 0.05)
        
        UIView.animateWithDuration(0.6, delay: 0, usingSpringWithDamping: 0.5, initialSpringVelocity: 1, options: UIViewAnimationOptions.CurveEaseInOut, animations: { () -> Void in
            
                view.transform = CGAffineTransformScale(CGAffineTransformIdentity, 1.0, 1.0)
            
            }, completion: nil)
    }
    
    private func coordinateRegion(safeObjects: [ABFLocationSafeRealmObject]) -> MKCoordinateRegion {
        var rect = MKMapRectNull
        
        for safeObject in safeObjects {

        
        let safeObjects = self.fetchedResultsController.safeObjects
        
        OperationQueue.main().addOperation({ [weak self] () -> Void in
            
            if let strongSelf = self {
                
