what is Responder chain in iPhone SDK ?? How it works? -


what responder chain in iphone sdk ?? how works ?

see documentation:

if first responder [to event or action message] cannot handle event or action message, forwards “next responder” in linked series called responder chain. responder chain allows responder objects transfer responsibility handling event or action message other objects in application.
if object in responder chain cannot handle event or action, resends message next responder in chain. message travels chain, toward higher-level objects, until handled. if isn't handled, application discards it.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -