Mac Developer Library

Developer

StoreKit Framework Reference SKProductsResponse Reference

Options
Deployment Target:

On This Page
Language:

SKProductsResponse

An SKProductsResponse object is returned by the Apple App Store in response to a request for information about a list of products.

  • A list of products, one product for each valid product identifier provided in the original request. (read-only)

    Declaration

    Swift

    var products: [SKProduct]? { get }

    Objective-C

    @property(readonly) NSArray <SKProduct *> *products

    Discussion

    The array consists of a list of SKProduct objects.

    Availability

    Available in OS X v10.7 and later.

  • An array of product identifier strings that were not recognized by the Apple App Store. (read-only)

    Declaration

    Swift

    var invalidProductIdentifiers: [String]? { get }

    Objective-C

    @property(readonly) NSArray <NSString *> *invalidProductIdentifiers

    Discussion

    This list should typically be empty.

    Availability

    Available in OS X v10.7 and later.