Can we use blocks with Gesture Recognizers? It doesn\'t appear so. For example, this does not work:
UITapGestureRecognizer *tapped = [[UITapGestureRecognizer a
However, this should:
UITapGestureRecognizer *tapped = [[UITapGestureRecognizer alloc] initWithTarget:[^{ // do stuff } copy] action:@selector(invoke)];
You shouldn't probably do this, however, since it's a private method.