summary refs log tree commit diff stats
path: root/Classes/TouchDelegatingView.m
blob: 83bda73266b6f15bc4f76f13438e5dfa0b9a8442 (plain) (blame)
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
//
//  TouchDelegatingView.m
//  Jacob's Shapes
//
//  Created by Nate Murray on 8/23/10.
//  Copyright 2010 LittleHiccup. All rights reserved.
//

#import "TouchDelegatingView.h"

@implementation TouchDelegatingView
@synthesize scrollView;

- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
    if ([self pointInside:point withEvent:event]) {
        return self.scrollView;
    }
    return nil;
}

-(void) dealloc {
    self.scrollView = nil;
	[super dealloc];
}

@end