April 2021
Beginner to intermediate
506 pages
11h 57m
English
In Add In-App Purchase Support to the Project, you added a group of files. One of those files, StoreManager.swift, is responsible for interfacing with StoreKit.
StoreKit, or rather the StoreKit framework, is what handles all of the in-app purchases and interactions your game has with the App Store. This includes loading the product details, prompting the player for payment details, and validating receipts (something you won’t do in this book).
When working with StoreKit and in-app purchases, you’re mostly dealing with products, payments, requests, and transactions using classes like:
These four classes (some of which you’ve already been using but ...
Read now
Unlock full access