DEV Community

Cover image for #100DaysOfSwift: Project 16
KeeyboardKeda
KeeyboardKeda

Posted on

#100DaysOfSwift: Project 16

For project 16, I learned about MapKit which is really simple to create!

Key Takeaways:

  1. The view controller should be set as the delegate for the map view because it will control or modify the changes that are made to the map view.

  2. MkPinAnnotation creates a pin on the map.

  3. A delegate is a controller object used to control or modify behavior of another object.

  4. addAnnotations can be used to add multiple annotations at once to the map.

Top comments (0)