| 12345678910111213141516171819202122232425262728293031 |
- //
- // SignatureViewController.h
- // RedAnt ERP Mobile
- //
- // Created by Ray on 14-8-7.
- // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import <GLKit/GLKit.h>
- #import "SignatureView.h"
- @class SignatureViewController;
- @protocol SignatureViewControllerDelegate <NSObject>
- -(void) SignatureVCReturnImage:(UIImage *)image indexPath :(NSIndexPath*) indexPath;
- -(void) SignatureVCReturnData:(NSData *)imagedata indexPath :(NSIndexPath*) indexPath;
- @end
- @interface SignatureViewController : GLKViewController<UITextFieldDelegate>
- //@property (strong, nonatomic) IBOutlet UIView *debugView;
- //@property (strong, nonatomic) IBOutlet SignatureView *signatureView;
- @property (strong, nonatomic) SignatureView *signatureView;
- @property (strong,nonatomic) NSIndexPath *indexPath;
- //@property (strong,nonatomic) UIImage *existSignature;
- @property (nonatomic, weak) id<SignatureViewControllerDelegate> Signaturedelegate;
- @property (nonatomic , copy) void (^onReturnImg)(UIImage* img);
- @property CGSize signature_ratio;
- @property int linewidth;
- + (instancetype)ra_signatureViewControllerWithCompletion:(void (^)(UIImage *image))blk;
- @end
|