         locationPin = pin
     }
 
-    func addAnnotation(sender: UITapGestureRecognizer) {
+    @objc private func addAnnotation(sender: UITapGestureRecognizer) {
 
         let point = sender.locationInView(mapView)
         let coordinate = mapView.convertPoint(point, toCoordinateFromView: mapView)

        }
    }

    var selectedLocationIndexPath: NSIndexPath?

    override func viewDidLoad() {
        super.viewDidLoad()

        }
    }

    private var pickedLocationPlacemarks = [CLPlacemark]() {
        didSet {
            if let placemark = pickedLocationPlacemarks.first {
                if let location = self.location {
