-
Notifications
You must be signed in to change notification settings - Fork 0
/
TableHeader.m
53 lines (43 loc) · 896 Bytes
/
TableHeader.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
44
45
46
47
48
49
50
51
52
53
//
// TableHeader.m
// Recursos Uniandes
//
// Created by Felipe Macbook Pro on 10/28/13.
// Copyright (c) 2013 Felipe Macbook Pro. All rights reserved.
//
#import "TableHeader.h"
@implementation TableHeader
- (id)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self) {
// Initialization code
}
return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
// Drawing code
}
*/
-(IBAction)goBack:(id)sender
{
// [self removeFromSuperview];
NSLog(@"BACK");
}
- (void) buttonTouchDownRepeat:(id)sender event:(UIEvent *)event
{
UITouch *touch = [[event allTouches] anyObject];
if(touch.tapCount == 2)
{
NSLog(@"Twice");
}
else
{
NSLog(@"otherwise");
}
}
@end