ios – What would occur if I bind a perform which requests greater than 1 parameter with a UIButton and goal it?


I’m finding out the best way to develop purposes in iOS, and attempt to perceive the essential UI and the entire runtime factor of objective-c just lately, and this query appeared after I by chance add a goal motion which requests 3 parameters to a single button: the primary parameter is button(the sender, completely), however the second and the third parameter is an UITouchesEvent.

my test code and registers

after I get to the registers, I discovered that x1 register is the button, however x3 to x5 is the UITouchesEvent. I consider that is how the 2nd and third parameter got here from, however why? why this UITouchesEvent could be one of many parameters?
what is the rule behind this?


Leave a Reply

Your email address will not be published. Required fields are marked *