QNALAssetFile.h 592 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // QNALAssetFile.h
  3. // QiniuSDK
  4. //
  5. // Created by bailong on 15/7/25.
  6. // Copyright (c) 2015年 Qiniu. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "QNFileDelegate.h"
  10. #if defined(__IPHONE_OS_VERSION_MAX_ALLOWED)
  11. #if !TARGET_OS_MACCATALYST
  12. @class ALAsset;
  13. @interface QNALAssetFile : NSObject <QNFileDelegate>
  14. /**
  15. * 打开指定文件
  16. *
  17. * @param asset 资源文件
  18. * @param error 输出的错误信息
  19. *
  20. * @return 实例
  21. */
  22. - (instancetype)init:(ALAsset *)asset
  23. error:(NSError *__autoreleasing *)error;
  24. @end
  25. #endif
  26. #endif