I got as far a p 109 in Chapter 5: Mapkit and Text Input…but ran into an error that I couldn’t figure out.
When I ran the application, I got a black window, and I got an Application windows are expected to have a root view controller error message.
It was driving me crazy trying to find out where the error came from…but I found it out.
It turns out that when following the directions (Chapter 5, p 107) that there needs to be a connection made for File’s Owner->Outlets->view to the “View”. However, before that you are instructed to add the MKMapView, the UITextField, and the UIActivityIndicatorView before making the connections. I couldn’t draw the arrow to the “View” view since MKMapView was in the way…
Anyways, I moved MKMapView slightly out of the way, made the connection to the “View”, then put the MKMapView back.
Then the finished connections looked like those shown on p 107 under Figure 5.5.
I then ran the application, and it ran OK.