StoreKit Changes for Objective-C
StoreKit
SKDownload.h
Added SKDownload.transaction
Modified SKDownload.contentIdentifier
Declaration | |
---|---|
From | @property(readonly) NSString *contentIdentifier |
To | @property(readonly, nonnull) NSString *contentIdentifier |
Modified SKDownload.contentLength
Declaration | |
---|---|
From | @property(copy, readonly) NSNumber *contentLength |
To | @property(copy, readonly, nonnull) NSNumber *contentLength |
Modified SKDownload.contentURL
Declaration | |
---|---|
From | @property(copy, readonly) NSURL *contentURL |
To | @property(copy, readonly, nullable) NSURL *contentURL |
Declaration | |
---|---|
From | + (NSURL *)contentURLForProductID:(NSString *)productID |
To | + (NSURL * _Nullable)contentURLForProductID:(NSString * _Nonnull)productID |
Modified SKDownload.contentVersion
Declaration | |
---|---|
From | @property(copy, readonly) NSString *contentVersion |
To | @property(copy, readonly, nullable) NSString *contentVersion |
Declaration | |
---|---|
From | + (void)deleteContentForProductID:(NSString *)productID |
To | + (void)deleteContentForProductID:(NSString * _Nonnull)productID |
Modified SKDownload.error
Declaration | |
---|---|
From | @property(copy, readonly) NSError *error |
To | @property(copy, readonly, nullable) NSError *error |
SKPayment.h
Modified SKMutablePayment.applicationUsername
Declaration | |
---|---|
From | @property(nonatomic, copy, readwrite) NSString *applicationUsername |
To | @property(nonatomic, copy, readwrite, nullable) NSString *applicationUsername |
Modified SKMutablePayment.productIdentifier
Declaration | |
---|---|
From | @property(copy, readwrite) NSString *productIdentifier |
To | @property(copy, readwrite, nonnull) NSString *productIdentifier |
Modified SKMutablePayment.requestData
Declaration | |
---|---|
From | @property(copy, readwrite) NSData *requestData |
To | @property(copy, readwrite, nullable) NSData *requestData |
Modified SKPayment.applicationUsername
Declaration | |
---|---|
From | @property(nonatomic, copy, readonly) NSString *applicationUsername |
To | @property(nonatomic, copy, readonly, nullable) NSString *applicationUsername |
Modified +[SKPayment paymentWithProduct:]
Declaration | |
---|---|
From | + (id)paymentWithProduct:(SKProduct *)product |
To | + (id _Nonnull)paymentWithProduct:(SKProduct * _Nonnull)product |
Modified SKPayment.productIdentifier
Declaration | |
---|---|
From | @property(copy, readonly) NSString *productIdentifier |
To | @property(copy, readonly, nonnull) NSString *productIdentifier |
Modified SKPayment.requestData
Declaration | |
---|---|
From | @property(copy, readonly) NSData *requestData |
To | @property(copy, readonly, nullable) NSData *requestData |
SKPaymentQueue.h
Modified -[SKPaymentQueue addPayment:]
Declaration | |
---|---|
From | - (void)addPayment:(SKPayment *)payment |
To | - (void)addPayment:(SKPayment * _Nonnull)payment |
Declaration | |
---|---|
From | - (void)addTransactionObserver:(id<SKPaymentTransactionObserver>)observer |
To | - (void)addTransactionObserver:(id<SKPaymentTransactionObserver> _Nonnull)observer |
Modified -[SKPaymentQueue cancelDownloads:]
Declaration | |
---|---|
From | - (void)cancelDownloads:(NSArray *)downloads |
To | - (void)cancelDownloads:(NSArray<SKDownload *> * _Nonnull)downloads |
Modified +[SKPaymentQueue defaultQueue]
Declaration | |
---|---|
From | + (SKPaymentQueue *)defaultQueue |
To | + (SKPaymentQueue * _Nonnull)defaultQueue |
Modified -[SKPaymentQueue finishTransaction:]
Declaration | |
---|---|
From | - (void)finishTransaction:(SKPaymentTransaction *)transaction |
To | - (void)finishTransaction:(SKPaymentTransaction * _Nonnull)transaction |
Modified -[SKPaymentQueue pauseDownloads:]
Declaration | |
---|---|
From | - (void)pauseDownloads:(NSArray *)downloads |
To | - (void)pauseDownloads:(NSArray<SKDownload *> * _Nonnull)downloads |
Declaration | |
---|---|
From | - (void)removeTransactionObserver:(id<SKPaymentTransactionObserver>)observer |
To | - (void)removeTransactionObserver:(id<SKPaymentTransactionObserver> _Nonnull)observer |
Declaration | |
---|---|
From | - (void)restoreCompletedTransactionsWithApplicationUsername:(NSString *)username |
To | - (void)restoreCompletedTransactionsWithApplicationUsername:(NSString * _Nullable)username |
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(readonly) NSArray *transactions |
To | @property(readonly, nullable) 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 restoreCompletedTransactionsFailedWithError:(NSError *)error |
To | - (void)paymentQueue:(SKPaymentQueue * _Nonnull)queue restoreCompletedTransactionsFailedWithError:(NSError * _Nonnull)error |
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 |
Declaration | |
---|---|
From | - (void)paymentQueueRestoreCompletedTransactionsFinished:(SKPaymentQueue *)queue |
To | - (void)paymentQueueRestoreCompletedTransactionsFinished:(SKPaymentQueue * _Nonnull)queue |
SKPaymentTransaction.h
Modified SKPaymentTransaction.downloads
Declaration | |
---|---|
From | @property(readonly) NSArray *downloads |
To | @property(readonly, nullable) NSArray *downloads |
Modified SKPaymentTransaction.error
Declaration | |
---|---|
From | @property(readonly) NSError *error |
To | @property(readonly, nullable) NSError *error |
Declaration | |
---|---|
From | @property(readonly) SKPaymentTransaction *originalTransaction |
To | @property(readonly, nullable) SKPaymentTransaction *originalTransaction |
Modified SKPaymentTransaction.payment
Declaration | |
---|---|
From | @property(readonly) SKPayment *payment |
To | @property(readonly, nonnull) SKPayment *payment |
Modified SKPaymentTransaction.transactionDate
Declaration | |
---|---|
From | @property(readonly) NSDate *transactionDate |
To | @property(readonly, nullable) NSDate *transactionDate |
Declaration | |
---|---|
From | @property(readonly) NSString *transactionIdentifier |
To | @property(readonly, nullable) NSString *transactionIdentifier |
SKProduct.h
Modified SKProduct.contentLengths
Declaration | |
---|---|
From | @property(readonly) NSArray *contentLengths |
To | @property(readonly, nullable) NSArray<NSNumber *> *contentLengths |
Modified SKProduct.contentVersion
Declaration | |
---|---|
From | @property(readonly) NSString *contentVersion |
To | @property(readonly, nullable) NSString *contentVersion |
Modified SKProduct.localizedDescription
Declaration | |
---|---|
From | @property(readonly) NSString *localizedDescription |
To | @property(readonly, nullable) NSString *localizedDescription |
Modified SKProduct.localizedTitle
Declaration | |
---|---|
From | @property(readonly) NSString *localizedTitle |
To | @property(readonly, nullable) NSString *localizedTitle |
Modified SKProduct.price
Declaration | |
---|---|
From | @property(readonly) NSDecimalNumber *price |
To | @property(readonly, nullable) NSDecimalNumber *price |
Modified SKProduct.priceLocale
Declaration | |
---|---|
From | @property(readonly) NSLocale *priceLocale |
To | @property(readonly, nullable) NSLocale *priceLocale |
Modified SKProduct.productIdentifier
Declaration | |
---|---|
From | @property(readonly) NSString *productIdentifier |
To | @property(readonly, nullable) NSString *productIdentifier |
SKProductsRequest.h
Modified SKProductsRequest.delegate
Declaration | |
---|---|
From | @property(assign) id<SKProductsRequestDelegate> delegate |
To | @property(assign, nullable) id<SKProductsRequestDelegate> delegate |
Declaration | |
---|---|
From | - (id)initWithProductIdentifiers:(NSSet *)productIdentifiers |
To | - (id _Nonnull)initWithProductIdentifiers:(NSSet * _Nonnull)productIdentifiers |
Declaration | |
---|---|
From | - (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response |
To | - (void)productsRequest:(SKProductsRequest * _Nonnull)request didReceiveResponse:(SKProductsResponse * _Nonnull)response |
Declaration | |
---|---|
From | @property(readonly) NSArray *invalidProductIdentifiers |
To | @property(readonly, nullable) NSArray<NSString *> *invalidProductIdentifiers |
Modified SKProductsResponse.products
Declaration | |
---|---|
From | @property(readonly) NSArray *products |
To | @property(readonly, nullable) NSArray<SKProduct *> *products |
SKReceiptRefreshRequest.h
Declaration | |
---|---|
From | - (id)initWithReceiptProperties:(NSDictionary *)properties |
To | - (id _Nullable)initWithReceiptProperties:(NSDictionary<NSString *,id> * _Nonnull)properties |
Declaration | |
---|---|
From | @property(nonatomic, readonly) NSDictionary *receiptProperties |
To | @property(nonatomic, readonly, nullable) NSDictionary<NSString *,id> *receiptProperties |
SKRequest.h
Modified SKRequest.delegate
Declaration | |
---|---|
From | @property(assign) id<SKRequestDelegate> delegate |
To | @property(assign, nullable) id<SKRequestDelegate> delegate |
Declaration | |
---|---|
From | - (void)request:(SKRequest *)request didFailWithError:(NSError *)error |
To | - (void)request:(SKRequest * _Nonnull)request didFailWithError:(NSError * _Nullable)error |
Declaration | |
---|---|
From | - (void)requestDidFinish:(SKRequest *)request |
To | - (void)requestDidFinish:(SKRequest * _Nonnull)request |