RCOfferings


@interface RCOfferings : NSObject

This class contains all the offerings configured in RevenueCat dashboard. For more info see https://docs.revenuecat.com/docs/entitlements

  • Current offering configured in the RevenueCat dashboard.

    Declaration

    Objective-C

    @property (readonly, atomic, nullable) RCOffering *current;
  • all

    Dictionary of all Offerings (RCOffering) objects keyed by their identifier. This dictionary can also be accessed by using an index subscript on RCOfferings, e.g. offerings[@"offering_id"]. To access the current offering use RCOfferings.current.

    Declaration

    Objective-C

    @property (readonly, atomic)
        NSDictionary<NSString *, RCOffering *> *_Nonnull all;
  • Retrieves a specific offering by its identifier, use this to access additional offerings configured in the RevenueCat dashboard, e.g. [offerings offeringWithIdentifier:@"offering_id"] or offerings[@"offering_id"]. To access the current offering use RCOfferings.current.

    Declaration

    Objective-C

    - (nullable RCOffering *)offeringWithIdentifier:(nullable NSString *)identifier;