소스 검색

【综合】整理代码

tangchao 2 달 전
부모
커밋
4292b5f672
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      PDF Office/PDF Master/Class/Purchase/IAPReceiptModel.h

+ 7 - 7
PDF Office/PDF Master/Class/Purchase/IAPReceiptModel.h

@@ -131,28 +131,28 @@ NS_ASSUME_NONNULL_BEGIN
 @interface IAPReceiptTool: NSObject
 
 // 是否在免费试用中
-+ (BOOL)isFreeTrailingWithModel:(IAPReceiptModel *)model withProductId:(NSString *)productId;
++ (BOOL)isFreeTrailingWithModel:(IAPReceiptModel * _Nullable)model withProductId:(NSString * _Nullable)productId;
 
 // 是否为新用户 
 + (BOOL)isNewUserWithModel:(IAPReceiptModel * _Nullable)model withGroupIdentifier:(NSString * _Nullable)groupIdentifier;
 
 // 是否有享受过 推介优惠 [免费试用]
-+ (BOOL)hasFreeTrialWithModel:(IAPReceiptModel *)model withGroupIdentifier:(NSString *)groupIdentifier;
++ (BOOL)hasFreeTrialWithModel:(IAPReceiptModel * _Nullable)model withGroupIdentifier:(NSString * _Nullable)groupIdentifier;
 
 // 是否有享受过 推介优惠
-+ (BOOL)hasIntroOfferWithModel:(IAPReceiptModel *)model withGroupIdentifier:(NSString *)groupIdentifier;
++ (BOOL)hasIntroOfferWithModel:(IAPReceiptModel * _Nullable)model withGroupIdentifier:(NSString * _Nullable)groupIdentifier;
 
 // 获取订阅群组的所有票据
-+ (NSArray <IAPReceiptInfoModel *> *)fetchReceiptsWithModel:(IAPReceiptModel *)model withGroupIdentifier:(NSString *)groupIdentifier;
++ (NSArray <IAPReceiptInfoModel *> * _Nullable)fetchReceiptsWithModel:(IAPReceiptModel * _Nullable)model withGroupIdentifier:(NSString * _Nullable)groupIdentifier;
 
 // 获取对应商品的最后的票据
-+ (IAPReceiptInfoModel *)fetchProductLastestReceiptsWithModel:(IAPReceiptModel *)model withProductId:(NSString *)productId;
++ (IAPReceiptInfoModel * _Nullable)fetchProductLastestReceiptsWithModel:(IAPReceiptModel * _Nullable)model withProductId:(NSString * _Nullable)productId;
 
 // 获取对应商品的所有票据
-+ (NSArray <IAPReceiptInfoModel *> *)fetchProductReceiptsWithModel:(IAPReceiptModel *)model withProductId:(NSString *)productId;
++ (NSArray <IAPReceiptInfoModel *> * _Nullable)fetchProductReceiptsWithModel:(IAPReceiptModel * _Nullable)model withProductId:(NSString * _Nullable)productId;
 
 // 获取所有的票据
-+ (NSArray <IAPReceiptInfoModel *> *)fetchReceiptsWithModel:(IAPReceiptModel *)model;
++ (NSArray <IAPReceiptInfoModel *> * _Nullable)fetchReceiptsWithModel:(IAPReceiptModel * _Nullable)model;
 
 @end