The following classes are available globally.
An entitlement represents features or content that a user isSee more
entitledto. Entitlements are unlocked by having an active subscription or making a one-time purchase. Many different products can unlock. Most subscription apps only have one entitlement, unlocking all premium features. However, if you had two tiers of content such as premium and premium_plus, you would have 2 entitlements. A common and simple setup example is one entitlement with identifier pro, one offering monthly, with one product. See this link for more info
@interface RCEntitlement : NSObject
RCPurchasesis the entry point for Purchases.framework. It should be instantiated as soon as your app has a unique user id for your user. This can be when a user logs in if you have accounts or on launch if you can generate a random user identifier.
WarningOnly one instance of RCPurchases should be instantiated at a time! Use a configure method to let the framework handle the singleton instance for you.
@interface RCPurchases : NSObject