Junior — Middle
Which protocol ensures interaction between UIView and the event handler chain?
sobes.tech AI
Answer from AI
In iOS, interaction of UIView with the event handling chain is provided by the UIResponder protocol.
UIView inherits from UIResponder, which implements the mechanism of event propagation through the responder chain. This allows events such as touches to be passed from one object to another until someone handles them.