Back to Browse

SQLiteData Part 10 CloudKit Record Sharing and Altering Tables

368 views
Apr 22, 2026
28:12

In this final installment of the SQLite Data series, we tackle one of the most powerful features of CloudKit — record sharing — allowing you to collaborate with other iCloud users on individual records in your Gift Registry app. Here's what we cover in this video: • Configuring your app to support CloudKit sharing with a new Info.plist entry and app/scene delegates • Adding a share button to the Person form that creates a shareable CKShare record with a custom title • Testing real-time collaboration across two physical devices logged into separate iCloud accounts • Understanding why many-to-many relationships (like occasion tags) are intentionally excluded from sync — and how to think about workarounds • Querying sync metadata to display a visual "shared" indicator on any record being collaborated on • Filtering Xcode console output using the SQLite Data subsystem for cleaner, more actionable logs • Performing live table migrations using ALTER TABLE to add createdAt and updatedAt columns to existing records — and watching those changes propagate to CloudKit automatically This video wraps up the entire 10-part series, and I also point you toward the incredible resources from the folks at Point-Free, whose Modern Persistence series and SQLite Data documentation will take your skills even further. If you've followed along through the whole series — thank you. Now go build something great. Full Series Playlist: https://www.youtube.com/playlist?list=PLBn01m5Vbs4CYoNYe55G1kijxeNza9SMe If you want to support my work, you can buy me a coffee :)  https://ko-fi.com/stewartlynch/ My Newsletter https://stewartlynch.kit.com Channel Listing Mac App (Free) https://stewartlynch.gumroad.com/l/obsjz Channel Listing Web App  https://stewartlynch.github.io/YouTube/ Table of Contents:  0:00  Introduction 1:49 Setting Up CloudKit Record Sharing 3:23 Sharing a Record 13:44 Linking to CloudKit Metadata 17:33 Filtering Xcode Console Output 18:29 Altering Tables by Adding Columns 26:10 Resources  Starter Project Files: https://github.com/StewartLynch/SQLite-Data-Gift-Register/tree/Part9Completed Completed Project: https://github.com/StewartLynch/SQLite-Data-Gift-Register/tree/Part10Completed References mentioned in video:  AppDelegate Gist: https://gist.github.com/StewartLynch/05a4b67bcd2c07c8f7a39c3cfad9a051 Point-Free https://www.pointfree.co SQLIteData Reference Page: https://www.pointfree.co/blog/posts/184-sqlitedata-1-0-an-alternative-to-swiftdata-with-cloudkit-sync-and-sharing SQLIieData Documentation: https://swiftpackageindex.com/pointfreeco/sqlite-data/main/documentation/sqlitedata Discussion Forum: https://github.com/pointfreeco/sqlite-data/discussions Recommended Resources:  Big Mountain Studio Books  AI Mastery in SwiftUI https://www.bigmountainstudio.com/ai-mastery/77jt8 SwiftUI Views Mastery https://www.bigmountainstudio.com/advanced-views/77jt8 Advanced SwiftUI Views Mastery     https://www.bigmountainstudio.com/advanced-views/77jt8 SwiftUI Animations Mastery https://www.bigmountainstudio.com/animations/77jt8 SwiftData Mastery in SwiftUI     https://www.bigmountainstudio.com/swiftdata/77jt8  Combine Mastery in SwiftUI  https://www.bigmountainstudio.com/combine/77jt8 SwiftUI 5 Book Bundle     https://www.bigmountainstudio.com/book-bundle/77jt8

Download

0 formats

No download links available.

SQLiteData Part 10 CloudKit Record Sharing and Altering Tables | NatokHD