29 lines
610 B
C
29 lines
610 B
C
|
//
|
||
|
// UIViewTap.h
|
||
|
// Momento
|
||
|
//
|
||
|
// Created by Michael Waterfall on 04/11/2009.
|
||
|
// Copyright 2009 d3i. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <UIKit/UIKit.h>
|
||
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
@protocol MWTapDetectingViewDelegate;
|
||
|
|
||
|
@interface MWTapDetectingView : UIView {}
|
||
|
|
||
|
@property (nonatomic, weak) id <MWTapDetectingViewDelegate> tapDelegate;
|
||
|
|
||
|
@end
|
||
|
|
||
|
@protocol MWTapDetectingViewDelegate <NSObject>
|
||
|
|
||
|
@optional
|
||
|
|
||
|
- (void)view:(UIView *)view singleTapDetected:(UITouch *)touch;
|
||
|
- (void)view:(UIView *)view doubleTapDetected:(UITouch *)touch;
|
||
|
- (void)view:(UIView *)view tripleTapDetected:(UITouch *)touch;
|
||
|
|
||
|
@end
|