I currently have this in my code
tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(updateLeftLabel:)];
which calls
- (void)updateLeftLabel:(UIGestureRecognizer*)recognizer
My code would be cleaner if the method was
- (void)updateLeftLabel:(UIGestureRecognizer*)recognizer fromData:(EquationData*)data
However, I need a way to send the 'data' parameter when I init UITapGestureRecognizer