MapKit
UIViewRepresentable with Coordinator Example
There are not many examples of correctly using a Coordinator with UIViewRepresentable so thought I would share one here. You’ll see many examples including some from Apple that return Coordinator(self) which is completely wrong because the UIViewRepresentable is a struct value type which is recreated on every state change so Read more…