As I understand it, it looks like this:
[event allTouches]returns all touches that are part of the event. Some of these touches may be for another UIResponder.
For example, you can click two views at the same time, and the responder associated with each view will be called with all touches of the event.
[touches allObject]contains only touches for this responder. And so, in most cases, you find yourself after.
source
share