App is created by following Hacking by Swift book by Paul Hudson.
As an challenge exercises I've implemented following features:
- Try typecasting the return value from
dequeueReusableAnnotationView()
so that it's anMKPinAnnotationView
. And change it'spinTintColor
property. - Add a
UIAlertController
that lets users specify how they want to view the map. - Modify the callout button so that pressing it shows a new view controller with a web view, taking users to the Wikipedia entry for that city.