Notes app design
Design a simple notes app. Walk me through the architecture, how you store the data, and how it flows.
Design a simple notes app. Walk me through the architecture, how you store the data, and how it flows.
Local first: save to SwiftData/Core Data immediately and let the UI subscribe to the DB. Sync with a per-note version (modification time plus device ID) and a change log, and propagate deletes as tombstones. CloudKit can take over much of this.
PersistenceShort answerExpert
You want to add iCloud sync across devices to a SwiftData/Core Data app that has been…
#sync #conflict #swiftdata #cloudkit
PersistenceShort answerAdvanced
Chat in a secondhand marketplace app has to work for reading and writing on the subway…
#offline-first #sync #swiftdata
iOS system designShort answerBasics
How is an "offline-first" app architecture different from the usual "network first, fall…
#offline-first #sync
iOS system designMultiple choiceAdvanced
In an offline-first to-do app, two devices edit the same item while offline and then…
#sync #conflict