Designing a REST API in Swift
Reiterate uses a backend server to coordinate its in-app purchases. The app and server communicate via a REST API. Here’s how I implemented that in Swift.
Essays on self-improvement, software development, and esports.
© 2023. All rights reserved.
Reiterate uses a backend server to coordinate its in-app purchases. The app and server communicate via a REST API. Here’s how I implemented that in Swift.
For the new in-app purchase flow, with on-demand resouorces, I needed to organize Reiterate’s products into separate bundles.
As part of the Acknowldgement update to Reiterate, I also took advantage of the rewrite to move the app’s core audio code to the new Swift async/await concurrency model.
Integrating the AVAudioEngine API into the rest of my app meant retooling some basic functionality, like saving .wav files.