adspace
Answer Posted / Shravan Tandon
Delegation is used in Swift to enable two objects to work together more closely. A delegate object is set as a property on one of the objects, and it conforms to a protocol defined by the other object. The delegate can then receive messages from the other object when certain events occur.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers