MapKit and Core Location · Location Objects | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/9236-mapkit-and-core-location/lessons/3

Hi, I have a question, in PlaceScrollViewController, why was delegate property not assigned with weak? I read that delegate is always need to use with “weak”.
Thanks!

Yes, assigning the delegate as weak is a good habit to prevent retain cycles.

Both in my implementation and in the finished project folder, didUpdateLocations is not being called as it is in the video. Is this an Xcode/Simulator bug or an error in the code?

@savagecat Please let us know what differences you see exactly between the two implementations when you get a chance. Thank you!