财神随手记账

MWTapDetectingImageView.h 660B

123456789101112131415161718192021222324252627
  1. //
  2. // UIImageViewTap.h
  3. // Momento
  4. //
  5. // Created by Michael Waterfall on 04/11/2009.
  6. // Copyright 2009 d3i. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @protocol MWTapDetectingImageViewDelegate;
  10. @interface MWTapDetectingImageView : UIImageView {}
  11. @property (nonatomic, weak) id <MWTapDetectingImageViewDelegate> tapDelegate;
  12. @end
  13. @protocol MWTapDetectingImageViewDelegate <NSObject>
  14. @optional
  15. - (void)imageView:(UIImageView *)imageView singleTapDetected:(UITouch *)touch;
  16. - (void)imageView:(UIImageView *)imageView doubleTapDetected:(UITouch *)touch;
  17. - (void)imageView:(UIImageView *)imageView tripleTapDetected:(UITouch *)touch;
  18. @end