//
//  ImageScrollerView.h
//  RedAnt ERP Mobile
//
//  Created by Ray on 12/18/15.
//  Copyright © 2015 United Software Applications, Inc. All rights reserved.
//

#import <UIKit/UIKit.h>
#pragma mark -ENUM
typedef NS_ENUM(NSInteger, MRImgLocation) {
    MRImgLocationLeft,
    MRImgLocationCenter,
    MRImgLocationRight,
};

@interface ImageScrollerView : UIScrollView<UIScrollViewDelegate>
{
    NSDictionary* _imgViewDic;   // 展示板组
}
@property int curIndex;     // 当前显示图片在数据源中的下标

@property(nonatomic ,strong)NSMutableArray *imgSource;

@property(nonatomic ,readonly)MRImgLocation imgLocation;    // 图片在空间中的位置


- (id)initWithFrame:(CGRect)frame;

- (id)initWithFrame:(CGRect)frame withSourceData:(NSMutableArray *)imgSource withIndex:(NSInteger)index;
- (id)initWithFrame:(CGRect)frame withSourceURL:(NSMutableArray *)imgURL withIndex:(NSInteger)index;
// 谦让双击放大手势
- (void)requireDoubleGestureRecognizer:(UITapGestureRecognizer *)tep;
@end
