应答动作
... acoustic responder 水声应答器 responder action 应答动作 interrogator responder 判断响应装置,询问接...
[通信] 应答器动作
应答器动作
考虑到这些相似性,Rails 3引入了Responder来进一步简化代码。
YES if a responder object handled the action message, no if no object in the responder chain handled the message.如果接受对象接收到事件信息就返回YES,在响应链中没有对象响应消息就返回NO。
If a responder object returns YES from this method, it can thereafter join the responder chain and receive touch events and action messages.如果调用对象从这个方法返回YES,那他就可以加入到事件链中并且可以接收到触摸事件和其他消息。