StoreKit Changes for Objective-C
StoreKit
SKPaymentQueue.h
Modified -[SKPaymentQueue cancelDownloads:]
Declaration | |
---|---|
From | - (void)cancelDownloads:(NSArray *)downloads |
To | - (void)cancelDownloads:(NSArray<SKDownload *> * _Nonnull)downloads |
Modified -[SKPaymentQueue pauseDownloads:]
Declaration | |
---|---|
From | - (void)pauseDownloads:(NSArray *)downloads |
To | - (void)pauseDownloads:(NSArray<SKDownload *> * _Nonnull)downloads |
Modified -[SKPaymentQueue resumeDownloads:]
Declaration | |
---|---|
From | - (void)resumeDownloads:(NSArray *)downloads |
To | - (void)resumeDownloads:(NSArray<SKDownload *> * _Nonnull)downloads |
Modified -[SKPaymentQueue startDownloads:]
Declaration | |
---|---|
From | - (void)startDownloads:(NSArray *)downloads |
To | - (void)startDownloads:(NSArray<SKDownload *> * _Nonnull)downloads |
Modified SKPaymentQueue.transactions
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *transactions |
To | @property(nonatomic, readonly, nonnull) NSArray<SKPaymentTransaction *> *transactions |
Declaration | |
---|---|
From | - (void)paymentQueue:(SKPaymentQueue *)queue removedTransactions:(NSArray *)transactions |
To | - (void)paymentQueue:(SKPaymentQueue * _Nonnull)queue removedTransactions:(NSArray<SKPaymentTransaction *> * _Nonnull)transactions |
Declaration | |
---|---|
From | - (void)paymentQueue:(SKPaymentQueue *)queue updatedDownloads:(NSArray *)downloads |
To | - (void)paymentQueue:(SKPaymentQueue * _Nonnull)queue updatedDownloads:(NSArray<SKDownload *> * _Nonnull)downloads |
Declaration | |
---|---|
From | - (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions |
To | - (void)paymentQueue:(SKPaymentQueue * _Nonnull)queue updatedTransactions:(NSArray<SKPaymentTransaction *> * _Nonnull)transactions |
SKPaymentTransaction.h
Modified SKPaymentTransaction.downloads
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *downloads |
To | @property(nonatomic, readonly, nonnull) NSArray<SKDownload *> *downloads |
SKProduct.h
Modified SKProduct.downloadContentLengths
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *downloadContentLengths |
To | @property(nonatomic, readonly, nonnull) NSArray<NSNumber *> *downloadContentLengths |
SKProductsRequest.h
Declaration | |
---|---|
From | - (instancetype)initWithProductIdentifiers:(NSSet *)productIdentifiers |
To | - (instancetype _Nonnull)initWithProductIdentifiers:(NSSet<NSString *> * _Nonnull)productIdentifiers |
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *invalidProductIdentifiers |
To | @property(nonatomic, readonly, nonnull) NSArray<NSString *> *invalidProductIdentifiers |
Modified SKProductsResponse.products
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSArray *products |
To | @property(nonatomic, readonly, nonnull) NSArray<SKProduct *> *products |
SKReceiptRefreshRequest.h
Declaration | |
---|---|
From | - (instancetype)initWithReceiptProperties:(NSDictionary *)properties |
To | - (instancetype _Nonnull)initWithReceiptProperties:(NSDictionary<NSString *,id> * _Nullable)properties |
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSDictionary *receiptProperties |
To | @property(nonatomic, readonly, nullable) NSDictionary<NSString *,id> *receiptProperties |
SKStoreProductViewController.h
Declaration | |
---|---|
From | - (void)loadProductWithParameters:(NSDictionary *)parameters completionBlock:(void (^)(BOOL result, NSError *error))block |
To | - (void)loadProductWithParameters:(NSDictionary<NSString *,id> * _Nonnull)parameters completionBlock:(void (^ _Nullable)(BOOL result, NSError * _Nullable error))block |