Mo Tips, Less Problems: Building a Tip Jar in StoreKit2
summary
Shows how iOS 16 StoreKit2 APIs let an app implement a consumable tip jar: uses an Xcode StoreKit configuration file to fake products locally, fetches products with products(for:) and async/await, performs purchases and validates transactions via the verification JWS, listens for interruptions with the transaction updates async sequence, and demos interrupted foreground and background flows resolving to a thank‑you screen. Ends with a practical App Store Connect checklist and common submission pitfalls.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 2:08Why StoreKit2 for purchases
- 5:15Tip jar with consumables
- 7:24StoreKit config setup
- 9:11Fetching products
- 10:54Preloading products
- 13:03Making purchases
- 17:24Interrupted transactions
- 20:34Testing interruptions
- 23:23App Store Connect checklist
- 25:47Submitting to App Store
- 26:49Closing remarks & Q&A
related talks
31mWatchKit Notifications
32mHow to Improve Your iOS App With Quick Wins: Big Benefits of Little Changes
29mWarm Up
26mFirst Local Cat Savings Bank
09mTracking user behaviour with ImpressionKit & SwiftHook for method swizzling ...
05mWrite iOS Game Once and Play in Any Way
04mThe Very Best of iOS Memes
31mSwift, You, I
