CS185c
Chris Pollett
Nov. 23, 2009
-(void)respondToMyEvent: (UIEvent *) event { if(condition) { [self handleEvent: event]; } else { [self.nextResponder respondToMyEvent: event]; } }
Which of the following statements is true:
- (void)touchesBegan: (NSSet *)touches withEvent:(UIEvent *)event { NSUInteger numTaps = [[touches anyObject] tapCount]; NSUInteger numTouches = [touches count]; }
NSSet *myTouches = [event touchesForView:self.view];
CGPoint point = [touch locationInView:self];