Google News
logo
Swift - Interview Questions
What is a delegate in swift Programming Language?
Delegate is a design pattern, which is used to pass the data or communication between structs or classes. Delegate allows sending a message from one object to another object when a specific event happens and is used for handling table view and collection view events.
 
Delegates have one to one relationship and one to one communication.
Advertisement