I Had Three Sources of Truth
You'll see real project code: a Key-Value Store wrapper, a saveRoutes function that writes to SQLite, mirrors to iCloud, updates sync status, and notifies the widget, plus migration logic that uses "max wins" for streaks and totals.
Emre Degirmenci
October 01, 2026