17.4 · CloudKit, StoreKit 2 and PassKit
These three connect your app to Apple’s services: storing and sharing user data in iCloud, selling things, and putting payments and passes in Wallet. Each has a server-side half that is easy to forget.
Mental model. Apple’s services are the source of truth for identity, money and entitlements. The app asks, verifies and records, but the decision lives with Apple (and your server).
iCloud
CloudKit databases, records, subscriptions and sharing.
- How does CloudKit work: containers, databases, zones, records, subscriptions, CKShare and sync?
CloudKit is Apple’s backend-as-a-service tied to the user’s iCloud account. A container (CKContainer, an identifier like iCloud.com.example.app, created in the…
Money and Wallet
StoreKit 2 transactions and PassKit payments and passes.
- How does StoreKit 2 work: products, purchases, transaction verification, entitlements, refunds, and what must a server do?
StoreKit 2 replaces the old receipt-based flow with a Swift-concurrency API and signed JWS transactions. You define products in App Store Connect (or a local… - How do Apple Pay and Wallet passes work with PassKit: payment requests, merchant capabilities, tokens and passes?
PassKit covers two different things. Apple Pay lets customers pay for physical goods and services with cards stored in Wallet. You build a PKPaymentRequest…
More in System frameworks
- 17.1 · UserNotifications, APNs and how a push actually gets delivered
- 17.2 · Core Location and MapKit
- 17.3 · Contacts, Calendar, Photos, HealthKit and Core Motion
- 17.5 · AuthenticationServices and passkeys, Spotlight, Handoff and user activities
- 17.6 · Live Activities, WeatherKit, App Clips and CarPlay
- 17.7 · A checklist for learning any Apple framework
- 17.8 · APNs tokens, payload budgets and notification triggers
- 17.9 · Cleaning location fixes, choosing geofences, and map geometry
- 17.10 · Contacts, EventKit, HealthKit units and sensor availability
- 17.11 · Records, system fields and CKError handling
- 17.12 · Passkey assertions, Apple ID tokens and Live Activity payloads