//
//  VisitorsVC.h
//  Gilliatte
//
//  Created by Lead on 12/08/16.
//  Copyright © 2016 Lead infosoft. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol VisitorDelegate <NSObject>
@optional
-(void)getRecordArray:(NSMutableArray *)recordArray;
@end

@interface VisitorsVC : UIViewController<UITextViewDelegate,UITableViewDelegate,UITableViewDataSource>

@property (assign, nonatomic)id<VisitorDelegate> delegate;

@property (strong, nonatomic) IBOutlet UITextField *txt_VisitorName;
@property (strong, nonatomic) IBOutlet UIImageView *imageview_Upload;
@property (strong, nonatomic) IBOutlet UIActivityIndicatorView *indicator;
@property (strong, nonatomic) IBOutlet UITextView *textview_Write;

@property (strong, nonatomic) IBOutlet UIButton *btn_Save;
@property (strong, nonatomic) IBOutlet UIButton *btn_Delete;

@property (strong, nonatomic) IBOutlet UITableView *tableview_PrevUserDetail;


//PopUp
@property (strong, nonatomic) IBOutlet UITextField *txt_PopUp_VisitorName;
@property (strong, nonatomic) IBOutlet UIView *view_PopUp;
@property (nonatomic, strong) NSDate *selectedDate;
@property (nonatomic, strong) NSDate *selectedTime;
@property (strong, nonatomic) IBOutlet UIButton *btn_SelectDate;

@property (strong, nonatomic) NSString *isEdited;
@property (strong, nonatomic) NSMutableArray *EditedArray;

@end
