MWZoomingScrollView.h 825 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // ZoomingScrollView.h
  3. // MWPhotoBrowser
  4. //
  5. // Created by Michael Waterfall on 14/10/2010.
  6. // Copyright 2010 d3i. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "MWPhotoProtocol.h"
  10. #import "MWTapDetectingImageView.h"
  11. #import "MWTapDetectingView.h"
  12. @class MWPhotoBrowser, MWPhoto, MWCaptionView;
  13. @interface MWZoomingScrollView : UIScrollView <UIScrollViewDelegate, MWTapDetectingImageViewDelegate, MWTapDetectingViewDelegate> {
  14. }
  15. @property () NSUInteger index;
  16. @property (nonatomic) id <MWPhoto> photo;
  17. @property (nonatomic, weak) MWCaptionView *captionView;
  18. @property (nonatomic, weak) UIButton *selectedButton;
  19. - (id)initWithPhotoBrowser:(MWPhotoBrowser *)browser;
  20. - (void)displayImage;
  21. - (void)displayImageFailure;
  22. - (void)setMaxMinZoomScalesForCurrentBounds;
  23. - (void)prepareForReuse;
  24. @end