tadelv / mapkit-swiftui-performance

A case study for performance of MapKit view embedded in SwiftUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mapkit-swiftui-performance

A case study for performance of MapKit view embedded in SwiftUI.

The full story can be read here.

The project features a simple root screen with options to navigate to specific implementations of MapView.

UIKit button leads you to the UIKit implementation. A MKMapView added to a UIViewController.

SwiftUI button leads you to the SwiftUI implementation. A MKMapView added to a SwiftUI container using UIViewRepresentable.

-

Annotations are generated randomly at the start of the application. 10k annotations are added to both map views to test performance of using pinch to zoom-out on the map view.

About

A case study for performance of MapKit view embedded in SwiftUI


Languages

Language:Swift 100.0%