Trouble changing the map's class from MKMapView to derived UIViewController class


#1

I’m not sure if I’m doing something wrong or if this has to do with an update to Xcode or Swift since the book’s publication but I’m thinking I might have to re-implemet the map entirely? If I change the class by typing in MapViewController it basically ignores it, the grey arrow and dropdown menu both show me no alternate class options.

I’m not sure it helps, but here’s a screenshot. I’m hoping the answer comes to me as soon as I post this, since that’s usually how it goes…


#2

I had the view selected not the viewController (in yellow). :man_facepalming: