//
//  WTImageViewer.h
//  WTRequestCenter
//
//  Created by song on 14/10/19.
//  Copyright (c) 2014骞?song. All rights reserved.
//

@import UIKit;
@interface WTImageScrollView : UIScrollView
{
    
}

-(instancetype)initWithFrame:(CGRect)frame imageURL:(NSString*)url;
@property (nonatomic,retain) UIButton *imageButton;
@property (nonatomic,readonly,copy) NSString *imageURL;
@end
@class WTImageViewer;
@protocol WTImageViewerDelegate <NSObject>

-(void)WTImageViewer:(WTImageViewer*)viewer pressImageWithIndex:(NSInteger)index;

@end



//鍥剧墖鏌ョ湅绫?@interface WTImageViewer : UIView <UIScrollViewDelegate>
{
    UIScrollView *myScrollView;
    
    
    NSMutableArray *imageViewArray;
    
    
    NSMutableArray *buttonArray;
    
}
@property (nonatomic) BOOL zoomEnable;
@property (nonatomic,weak) id<WTImageViewerDelegate> delegate;
- (instancetype)initWithFrame:(CGRect)frame urls:(NSArray*)urls;
@property (nonatomic,copy) NSArray *imageUrls;
@property (NS_NONATOMIC_IOSONLY, readonly) NSUInteger currentPageIndex;



@end
// 鐗堟潈灞炰簬鍘熶綔鑰?// http://code4app.com (cn) http://code4app.net (en)
// 鍙戝竷浠g爜浜庢渶涓撲笟鐨勬簮鐮佸垎浜綉绔? Code4App.com