-
Notifications
You must be signed in to change notification settings - Fork 318
Expand file tree
/
Copy pathWETouchableView.h
More file actions
37 lines (29 loc) · 847 Bytes
/
Copy pathWETouchableView.h
File metadata and controls
37 lines (29 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// WETouchableView.h
// WEPopover
//
// Created by Werner Altewischer on 12/21/10.
// Copyright 2010 Werner IT Consultancy. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ARCHelper.h"
@class WETouchableView;
/**
* @brief delegate to receive touch events
*/
@protocol WETouchableViewDelegate<NSObject>
- (void)viewWasTouched:(WETouchableView *)view;
@end
/**
* @brief View that can handle touch events and/or disable touch forwording to child views
*/
@interface WETouchableView : UIView {
BOOL touchForwardingDisabled;
id <WETouchableViewDelegate> __ah_weak delegate;
NSArray *passthroughViews;
BOOL testHits;
}
@property (nonatomic, assign) BOOL touchForwardingDisabled;
@property (nonatomic, ah_weak) id <WETouchableViewDelegate> delegate;
@property (nonatomic, copy) NSArray *passthroughViews;
@end