// // IDMZoomingScrollView.h // IDMPhotoBrowser // // Created by Michael Waterfall on 14/10/2010. // Copyright 2010 d3i. All rights reserved. // #import #import "IDMPhotoProtocol.h" #import "IDMTapDetectingImageView.h" #import "IDMTapDetectingView.h" #import @class IDMPhotoBrowser, IDMPhoto, IDMCaptionView; @interface IDMZoomingScrollView : UIScrollView { IDMPhotoBrowser *__weak _photoBrowser; id _photo; // This view references the related caption view for simplified handling in photo browser IDMCaptionView *_captionView; IDMTapDetectingView *_tapView; // for background taps DACircularProgressView *_progressView; } @property (nonatomic, strong) IDMTapDetectingImageView *photoImageView; @property (nonatomic, strong) IDMCaptionView *captionView; @property (nonatomic, strong) id photo; @property (nonatomic) CGFloat maximumDoubleTapZoomScale; - (id)initWithPhotoBrowser:(IDMPhotoBrowser *)browser; - (void)displayImage; - (void)displayImageFailure; - (void)setProgress:(CGFloat)progress forPhoto:(IDMPhoto*)photo; - (void)setMaxMinZoomScalesForCurrentBounds; - (void)prepareForReuse; @end