//
//  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 "SignatureView.h"
@class SignatureViewController;
@protocol SignatureViewControllerDelegate <NSObject>

-(void) SignatureVCReturnImage:(UIImage *)image indexPath :(NSIndexPath*) indexPath;
-(void) SignatureVCReturnData:(NSData *)imagedata indexPath :(NSIndexPath*) indexPath;
@end
@interface SignatureViewController : UIViewController
//@property (strong, nonatomic) IBOutlet UIView *debugView;
@property (strong, nonatomic) IBOutlet SignatureView *signatureView;
@property (strong,nonatomic) NSIndexPath *indexPath;
@property (strong,nonatomic) UIImage *existSignature;
@property (nonatomic, weak) id<SignatureViewControllerDelegate> delegate;
@property (nonatomic , copy) void (^onReturnImg)(UIImage* img);

@end
