In my app I plotted a route with a marker, but when I tap on the route or marker, nothing gets fired. I made sure to do the following:

Made my class a NMAMapViewDelegate:

```
class ViewController: UIViewController, NMARouteManagerDelegate, NMAMapViewDelegate {

```

Set the delegate to self:

```
override func viewWillAppear(_ animated: Bool) {
    mapView.delegate = self
}

```

Set up the delegate method:

```
func mapViewDidSelectObjects(_ mapView: NMAMapView, objects: [NMAMapObject]) {
    print("map view delegate method called")
}

```

Anyone know why the delegate isn't firing? Is it just a bug in the Swift version of the iOS SDK?