MWTapDetectingView.h 610 B

12345678910111213141516171819202122232425262728
  1. //
  2. // UIViewTap.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. #import <UIKit/UIKit.h>
  10. @protocol MWTapDetectingViewDelegate;
  11. @interface MWTapDetectingView : UIView {}
  12. @property (nonatomic, weak) id <MWTapDetectingViewDelegate> tapDelegate;
  13. @end
  14. @protocol MWTapDetectingViewDelegate <NSObject>
  15. @optional
  16. - (void)view:(UIView *)view singleTapDetected:(UITouch *)touch;
  17. - (void)view:(UIView *)view doubleTapDetected:(UITouch *)touch;
  18. - (void)view:(UIView *)view tripleTapDetected:(UITouch *)touch;
  19. @end