// // CPDFAddViewController.h // PDFViewer // // Created by kdanmobile_2 on 2022/12/7. // #import #import "PDFHeaderFooterModel.h" #import "PDFHeadView.h" NS_ASSUME_NONNULL_BEGIN #define kFormat @"^[ ]+$" typedef NS_ENUM(NSInteger, PDFHeaderFooterLocation) { PDFHeaderFooterLocationHeader = 0, PDFFooter, }; typedef NS_ENUM(NSInteger, PDFHeaderFooerAligment) { PDFHeaderFooerAligmentLeft = 0, PDFHeaderFooerAligmentLeftCenter, PDFHeaderFooerAligmentLeftRinght, }; typedef struct PDFHeaderFooterPosition { PDFHeaderFooterLocation location; PDFHeaderFooerAligment aligment; }PDFHeaderFooterPosition; @protocol PDFModelDataDelegate @optional - (void)PDFViewPerformChangeHeaderFooter:(PDFHeaderFooterModel *)modelData; - (void)PDFViewPerformChangBates:(PDFHeaderFooterModel *)modelData; @end @interface PDFAddViewController : UIViewController - (id)initWithImage:(UIImage *)image; @property (nonatomic,weak) id delegate; @end NS_ASSUME_NONNULL_END