Online round task of iOS Dev Challenge XIX on 03.10.2022
Developing an iPad (Swift) application that is going to visualize crimes in Ukraine using the provided database, your task is to create a map visualization of the points along with general statistics of the crimes that happened (e.g. number of distinct crimes, total crimes). This project’s idea is to spread the news to the rest of the world about unjustified aggression against the Ukrainian nation.
- project should build on Xcode 14.0+.
- language should be Swift.
- target should support the iPad as the main platform.
- minimal iOS version is 15.0.
- UI build with SwiftUI
- MVVM Architecture
- MapKit
- Local database with more than 10,000 war crimes
- Cluster aggregation on the map with zoom to specific places
- Localised data: EN or UA
- Time period filter
-
Choosing Swift UI led to some limitations for working with native maps (MapKit), mainly - point aggregation. This required task was done by grouping events into clustes and then displaying those clusters (event if a single event) on the map. The algorithm needs improvements though :D
-
Another concern is lagging (freezing UI) when changing selected time period or language. Panning and zooming the map also has problems when there are many events to process. This could be improved by moving heavy computations off main queue, more sophisticated logic of when to reassemble clusters or even initial breakdown of events in days/sectors on the map.