Documentation Archive Developer
Search

StoreKit Changes for Objective-C

StoreKit

SKDownload.h

Declaration
From
@property(readonly) NSString *contentIdentifier
To
@property(nonatomic, readonly) NSString *contentIdentifier

Declaration
From
@property(copy, readonly) NSNumber *contentLength
To
@property(nonatomic, copy, readonly) NSNumber *contentLength

Declaration
From
@property(copy, readonly) NSURL *contentURL
To
@property(nonatomic, readonly) NSURL *contentURL

Declaration
From
@property(copy, readonly) NSString *contentVersion
To
@property(nonatomic, copy, readonly) NSString *contentVersion

Declaration
From
@property(copy, readonly) NSError *error
To
@property(nonatomic, copy, readonly) NSError *error

Declaration
From
@property(readonly) float progress
To
@property(nonatomic, readonly) float progress

Declaration
From
@property(readonly) SKDownloadState state
To
@property(nonatomic, readonly) SKDownloadState state

Declaration
From
@property(readonly) NSTimeInterval timeRemaining
To
@property(nonatomic, readonly) NSTimeInterval timeRemaining

SKError.h

SKPayment.h

Declaration
From
@property(nonatomic, copy, readwrite) NSString *applicationUsername
To
@property(nonatomic, copy) NSString *applicationUsername

Declaration
From
@property(copy, readwrite) NSString *productIdentifier
To
@property(nonatomic, copy) NSString *productIdentifier

Declaration
From
@property(readwrite) NSInteger quantity
To
@property(nonatomic) NSInteger quantity

Declaration
From
@property(copy, readwrite) NSData *requestData
To
@property(nonatomic, copy) NSData *requestData

Declaration
From
+ (id)paymentWithProduct:(SKProduct *)product
To
+ (instancetype)paymentWithProduct:(SKProduct *)product

Declaration
From
@property(copy, readonly) NSString *productIdentifier
To
@property(nonatomic, copy, readonly) NSString *productIdentifier

Declaration
From
@property(readonly) NSInteger quantity
To
@property(nonatomic, readonly) NSInteger quantity

Declaration
From
@property(copy, readonly) NSData *requestData
To
@property(nonatomic, copy, readonly) NSData *requestData

SKPaymentQueue.h

Declaration
From
+ (SKPaymentQueue *)defaultQueue
To
+ (instancetype)defaultQueue

Declaration
From
@property(readonly) NSArray<SKPaymentTransaction *> *transactions
To
@property(nonatomic, readonly) NSArray<SKPaymentTransaction *> *transactions

SKPaymentTransaction.h

Declaration
From
@property(readonly) NSArray *downloads
To
@property(nonatomic, readonly) NSArray<SKDownload *> *downloads

Declaration
From
@property(readonly) NSError *error
To
@property(nonatomic, readonly) NSError *error

Declaration
From
@property(readonly) SKPaymentTransaction *originalTransaction
To
@property(nonatomic, readonly) SKPaymentTransaction *originalTransaction

Declaration
From
@property(readonly) SKPayment *payment
To
@property(nonatomic, readonly) SKPayment *payment

Declaration
From
@property(readonly) NSDate *transactionDate
To
@property(nonatomic, readonly) NSDate *transactionDate

Declaration
From
@property(readonly) NSString *transactionIdentifier
To
@property(nonatomic, readonly) NSString *transactionIdentifier

Declaration
From
@property(readonly) SKPaymentTransactionState transactionState
To
@property(nonatomic, readonly) SKPaymentTransactionState transactionState

SKProduct.h

Declaration
From
@property(readonly) NSArray<NSNumber *> *contentLengths
To
@property(nonatomic, readonly) NSArray<NSNumber *> *contentLengths

Declaration
From
@property(readonly) NSString *contentVersion
To
@property(nonatomic, readonly) NSString *contentVersion

Declaration
From
@property(readonly) BOOL downloadable
To
@property(nonatomic, readonly) BOOL downloadable

Declaration
From
@property(readonly) NSString *localizedDescription
To
@property(nonatomic, readonly) NSString *localizedDescription

Declaration
From
@property(readonly) NSString *localizedTitle
To
@property(nonatomic, readonly) NSString *localizedTitle

Declaration
From
@property(readonly) NSDecimalNumber *price
To
@property(nonatomic, readonly) NSDecimalNumber *price

Declaration
From
@property(readonly) NSLocale *priceLocale
To
@property(nonatomic, readonly) NSLocale *priceLocale

Declaration
From
@property(readonly) NSString *productIdentifier
To
@property(nonatomic, readonly) NSString *productIdentifier

SKProductsRequest.h

Declaration
From
@property(assign) id<SKProductsRequestDelegate> delegate
To
@property(nonatomic, weak) id<SKProductsRequestDelegate> delegate

Declaration
From
- (id)initWithProductIdentifiers:(NSSet *)productIdentifiers
To
- (instancetype)initWithProductIdentifiers:(NSSet<NSString *> *)productIdentifiers

Declaration
From
@property(readonly) NSArray<NSString *> *invalidProductIdentifiers
To
@property(nonatomic, readonly) NSArray<NSString *> *invalidProductIdentifiers

Declaration
From
@property(readonly) NSArray<SKProduct *> *products
To
@property(nonatomic, readonly) NSArray<SKProduct *> *products

SKReceiptRefreshRequest.h

Declaration
From
- (id)initWithReceiptProperties:(NSDictionary<NSString *,id> *)properties
To
- (instancetype)initWithReceiptProperties:(NSDictionary<NSString *,id> *)properties

SKRequest.h

Declaration
From
@property(assign) id<SKRequestDelegate> delegate
To
@property(nonatomic, weak) id<SKRequestDelegate> delegate