I am a Android developer ,Currently I was learning iOS development.And Confused about the target-action pattern. In android if i want to get a callback when a button clicked,I can do like this:
btn.setOnClickListener(myOnClickListener);
It's just like the delegate-pattern in iOS ,But Why Apple choose the target-action pattern for the gestureReconginer event handle?
Sorry for my poor english skill,Thanks you guys in advance.