//
//  FormProcessor.h
//

#import <Foundation/Foundation.h>

@interface FormProcessor : NSObject

@property (nonatomic, weak) IBOutlet id dataSourceForResponse;
@property (nonatomic, strong) IBOutletCollection(UIControl) NSMutableArray *formControls;
@property (nonatomic, copy) NSString * sendMethod;
@property (nonatomic, strong) NSDictionary * extraContent;
@property BOOL blocksUserInteractionWhileTransmitting;

- (void)process;
- (void)setFormElementNamesWithViewTagJSONString:(NSString *)jsonString;
- (void)setDestinationURLString:(NSString *)urlString;
- (void)addTarget:(id)target action:(SEL)selector forEvents:(NSString *)eventIdentifier;
- (void)removeTarget:(id)target;

@end
