~/talk

CloudKit Public Database as a Backend

Talkat Swift Rockies 2026 · 2026-07-22..07-23· [ios]
slides:none on file

Uses CloudKit public database as the app backend to serve barcode nutrition lookup, ingesting Open Food Facts raw TSV and filtering 4.2M rows down to 2.7 million records of usable food items. A Mac uploader converts rows to CKRecords and pushes in batches of 150, with the full import taking 44 hours to finish. Barcode scanning uses VisionKit data scanner; CloudKit handles read-heavy static content well but limits relevance of search, offers no server-side logic, and is Apple-only.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:16Why avoid a backend
  3. 8:10CloudKit public database overview
  4. 12:03Choosing Open Food Facts
  5. 14:12Filtering the food database
  6. 16:59Building the CloudKit schema
  7. 18:04Uploading data to CloudKit
  8. 21:18Production environment setup
  9. 22:45Barcode scanner integration
  10. 23:46Limitations with search
  11. 25:13CloudKit public database boundaries
  12. 26:39Costs and trade-offs
  13. 27:00Conclusion and final thoughts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.