-
Notifications
You must be signed in to change notification settings - Fork 0
/
CustomCell.h
37 lines (28 loc) · 932 Bytes
/
CustomCell.h
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
//
// CustomCell.h
// AWSManager
//
// Created by Adil Mezghouti on 5/15/11.
// Copyright 2011 Adil Mezghouti university. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface CustomCell : UITableViewCell {
BOOL swiping;
BOOL hasSwiped;
BOOL hasSwipedLeft;
BOOL hasSwipedRight;
BOOL fingerIsMovingLeftOrRight;
BOOL fingerMovingVertically;
CGPoint startTouchPosition;
}
@property(nonatomic,assign) BOOL swiping;
@property(nonatomic,assign) BOOL hasSwiped;
@property(nonatomic,assign) BOOL hasSwipedLeft;
@property(nonatomic,assign) BOOL hasSwipedRight;
@property(nonatomic,assign) BOOL fingerIsMovingLeftOrRight;
@property(nonatomic,assign) BOOL fingerMovingVertically;
@property(nonatomic,assign) CGPoint startTouchPosition;
- (BOOL)isTouchGoingLeftOrRight:(UITouch *)touch;
- (void)lookForSwipeGestureInTouches:(NSSet *)touches withEvent:(UIEvent *)event;
- (BOOL)fingerIsMovingVertically;
@end