RCTCPDFView.m 587 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // CPDFView.m
  3. // react-native-compdfkit-pdf
  4. //
  5. // Created by Xiaolong Liu on 2024/7/4.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import <UIKit/UIKit.h>
  9. #import <ComPDFKit_Tools/ComPDFKit_Tools.h>
  10. @interface RCTCPDFView : UIView
  11. @property (nonatomic, strong) CPDFViewController *pdfViewController;
  12. - (void)setDocument:(NSURL *) documentURL;
  13. @end
  14. @implementation RCTCPDFView
  15. - (instancetype)initWithFrame:(CGRect)frame {
  16. self = [super initWithFrame:frame];
  17. if (self) {
  18. // 初始化
  19. }
  20. return self;
  21. }
  22. - (void)setDocument:(NSURL *)documentURL {
  23. }
  24. @end