PDFViewController.h 764 B

123456789101112131415161718192021222324252627
  1. //
  2. // PDFViewController.h
  3. // PDFReader
  4. //
  5. // Copyright © 2014-2022 PDF Technologies, Inc. All Rights Reserved.
  6. //
  7. // The PDF Reader Sample applications are licensed with a modified BSD license.
  8. // Please see License for details. This notice may not be removed from this file.
  9. //
  10. #import <ComPDFKit/ComPDFKit.h>
  11. #import "PDFListView.h"
  12. @interface PDFViewController : UIViewController
  13. @property (nonatomic,readonly) NSString *filePath;
  14. @property (nonatomic,readonly) PDFListView *pdfView;
  15. #pragma mark - Initializers
  16. // Initializers, Make sure you enter the local document path in PDF format
  17. - (instancetype)initWithFilePath:(NSString *)filePath;
  18. - (void)loadDocumentWithFilePath:(NSString *)filePath completion:(void (^)(BOOL result))completion;
  19. @end