Does anyone have any examples of formatting StoreKit 2 product information at run time? The objects have some variations of `displayName` and `localizedName` that are easy enough to test, but others have `formatted(_:)`, and I can’t figure out what to pass to that (because, as usual, Apple documentation is sorely lacking).
I’d like to render things like in this example, in a localized way. The price/period isn’t hard to do, but how about the savings description? I wrote some code to do this with Store Kit 1 and NSLocalizedString. But I used things like `locale` objects provided in those data structures, and computed string keys on the fly, something I don't seem to be able to do with `String(localized:)`.
#StoreKit #StoreKit2 #InAppPurchase #iOS #macOS