File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1111#import < StoreKit/StoreKit.h>
1212
1313#import < Parse/PFConstants.h>
14+ #import < Parse/PFNullability.h>
1415
1516@class PFProduct;
1617
18+ PF_ASSUME_NONNULL_BEGIN
19+
1720/* !
1821 `PFPurchase` provides a set of APIs for working with in-app purchases.
1922
6568 */
6669+ (void )downloadAssetForTransaction : (SKPaymentTransaction *)transaction
6770 completion : (void (^)(NSString *filePath, NSError *error))completion
68- progress : (PFProgressBlock)progress ;
71+ progress : (PF_NULLABLE PFProgressBlock)progress ;
6972
7073/* !
7174 @abstract *Asynchronously* restore completed transactions for the current user.
8588
8689 @warning This method will return `nil`, if the purchase wasn't verified or if the asset was not downloaded.
8790 */
88- + (NSString *)assetContentPathForProduct : (PFProduct *)product ;
91+ + (PF_NULLABLE NSString *)assetContentPathForProduct : (PFProduct *)product ;
8992
9093@end
94+
95+ PF_ASSUME_NONNULL_END
You can’t perform that action at this time.
0 commit comments