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.

Inheritance


Conforms To


Import Statement


import StoreKit @import StoreKit;

Availability


Available in OS X v10.7 and later.
  • products products Property

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

    Declaration

    Swift

    var products: [AnyObject]! { get }

    Objective-C

    @property(readonly) NSArray *products

    Discussion

    The array consists of a list of SKProduct objects.

    Import Statement

    import StoreKit

    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: [AnyObject]! { get }

    Objective-C

    @property(readonly) NSArray *invalidProductIdentifiers

    Discussion

    This list should typically be empty.

    Import Statement

    import StoreKit

    Availability

    Available in OS X v10.7 and later.