Hi Quinn,
[quote='820522022, DTS Engineer, /thread/772090?answerId=820522022#820522022']
It sounds like you have a mix of Swift and Objective-C, and some of those clients are in Objective-C. Is that right?
[/quote]
Exactly! Actually, most of those clients are currently Objective-C classes because StoreKit2 as Swift-only is the main reason to migrate StoreManager.
I totally agree to your mention of a "snapshot" - that's what I meant when calling the array a kind of cache, for the lack of better words: It only provides the "point-in-time" state of purchased products, and all clients are notified via NSNotificationCenter when their data was updated. Access to the array property is always in sync calls without blocking / waiting for any asynchronous call to finish.
Topic:
App & System Services
SubTopic:
StoreKit
Tags: