智莺生活APP的阿里百川 Flutter 插件
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

44 rindas
958 B

  1. //
  2. // FNALITradeZipArchiver.m
  3. // 新版嗨如意
  4. //
  5. // Created by FNUser on 2020/10/26.
  6. // Copyright © 2020 方诺科技. All rights reserved.
  7. //
  8. #import "FNALITradeZipArchiver.h"
  9. #import <ZipArchive/ZipArchive.h>
  10. @interface FNALITradeZipArchiverOp()
  11. @property (nonatomic, strong) ZipArchive *innerArchiver;
  12. @end
  13. @implementation FNALITradeZipArchiverOp
  14. - (ZipArchive *)innerArchiver {
  15. if (!_innerArchiver) {
  16. _innerArchiver = [ZipArchive new];
  17. }
  18. return _innerArchiver;
  19. }
  20. - (BOOL)UnzipOpenFile:(NSString *)zipFile{
  21. return [self.innerArchiver UnzipOpenFile:zipFile];
  22. }
  23. - (BOOL)UnzipCloseFile{
  24. return [self.innerArchiver UnzipCloseFile];
  25. }
  26. - (BOOL)UnzipFileTo:(NSString *)path overWrite:(BOOL)overwrite{
  27. return [self.innerArchiver UnzipFileTo:path overWrite:overwrite];
  28. }
  29. @end
  30. @implementation FNALITradeZipArchiver
  31. - (id<TRVZipOperationProtocol>)zipArchiverInstance{
  32. return [FNALITradeZipArchiverOp new];
  33. }
  34. @end