SViewController.h 865 B

1234567891011121314151617181920212223242526
  1. //
  2. // SViewController.h
  3. // HelloTriangle
  4. //
  5. // Created by Rui Zhang on 4/27/23.
  6. // Copyright © 2023 Apple. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "SignatureViewM.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @class SignatureViewController;
  12. @protocol SignatureViewControllerDelegate <NSObject>
  13. -(void) SignatureVCReturnImage:(UIImage *)image indexPath :(NSIndexPath*) indexPath;
  14. -(void) SignatureVCReturnData:(NSData *)imagedata indexPath :(NSIndexPath*) indexPath;
  15. @end
  16. @interface SViewController : UIViewController<UITextFieldDelegate>
  17. @property (strong, nonatomic) IBOutlet SignatureViewM *signatureView;
  18. @property (nonatomic, weak) id<SignatureViewControllerDelegate> Signaturedelegate;
  19. @property int linewidth;
  20. @property (strong,nonatomic) NSIndexPath *indexPath;
  21. @property (nonatomic , copy) void (^onReturnImg)(UIImage* img);
  22. @end
  23. NS_ASSUME_NONNULL_END