SubscriptionOptionGroupSet
struct · iOS 18.0+ · SDK 27.1
@MainActor @preconcurrency struct SubscriptionOptionGroupSet<GroupID, Label, MarketingContent> where GroupID : Hashable, Label : View, MarketingContent : ViewA set of subscription option groups. You can create a subscription option group set instead of creating multiple ``SubscriptionOptionGroup`` instances directly. This may be convenient in cases where the number of groups your store contains depends on the subscriptions contained within the store, or in cases where creating individual groups is cumbersome. If the group ID type you provide conforms to `Comparable`, the groups the set represents are ordered according to their ID. Otherwise, the groups are ordered according to the order in which each distinct value is first returned from your transform. If your set creates groups identified by a subscription period, you may want to use ``SubscriptionPeriodGroupSet`` instead. The subscription period group set automatically groups options by their period, and provides an automatic label representing a localized description of the respective subscription period. The groups represented by a group set must only contain subscription options. To declare a group composed of child groups, you must use ``SubscriptionOptionGroup`` directly.
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
SubscriptionOptionGroupSet.init(idType:groupedBy:label:marketingContent:)
callback cannot propagate synchronous failure
SubscriptionOptionGroupSet.init(idType:groupedBy:label:)
callback cannot propagate synchronous failure
SubscriptionOptionGroupSet.body
The iOS SDK compiler rejected this binding: cannot find type 'SwiftUI' in scope