-
Notifications
You must be signed in to change notification settings - Fork 1
/
LGSwipeableContentScrollView.m
executable file
·43 lines (34 loc) · 1.33 KB
/
LGSwipeableContentScrollView.m
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
38
39
40
41
42
43
//
// LGSwipeableContentScrollView.m
//
//
// Created by Lionel on 29/01/14.
//
//
#import "LGSwipeableContentScrollView.h"
@implementation LGSwipeableContentScrollView
- (instancetype) initWithFrame:(CGRect)frame {
self = [super initWithFrame:frame];
if (self) {
// Initialization code
}
return self;
}
#pragma mark - UIResponder overriden selectors.
-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
// Fwd the event to the chain of responder so that the UITableViewCell content receives it.
[self.nextResponder touchesBegan:touches withEvent:event];
}
-(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
// Fwd the event to the chain of responder so that the UITableViewCell content receives it.
[self.nextResponder touchesEnded:touches withEvent:event];
}
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
// Fwd the event to the chain of responder so that the UITableViewCell content receives it.
[self.nextResponder touchesMoved:touches withEvent:event];
}
- (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event {
// Fwd the event to the chain of responder so that the UITableViewCell content receives it.
[self.nextResponder touchesCancelled:touches withEvent:event];
}
@end