~/talk

Mo Tips, Less Problems: Building a Tip Jar in StoreKit2

Talkat iOS Conf SG 2023 · 2023-01-12..01-13· [swift]
name:Mo Tips
links:none on file
slides:none on file

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

  1. 0:00Introduction
  2. 2:08Why StoreKit2 for purchases
  3. 5:15Tip jar with consumables
  4. 7:24StoreKit config setup
  5. 9:11Fetching products
  6. 10:54Preloading products
  7. 13:03Making purchases
  8. 17:24Interrupted transactions
  9. 20:34Testing interruptions
  10. 23:23App Store Connect checklist
  11. 25:47Submitting to App Store
  12. 26:49Closing remarks & Q&A
~/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.