What is delegation protocol?
Answer / Devesh
A delegation protocol in Objective-C is a design pattern that allows one object to delegate tasks to another object. The first object, known as the delegate, conforms to a specific protocol, which declares a set of optional methods. When an event occurs within the first object, it will call the appropriate method on its delegate, if it has been set.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the difference between uiwindow and uiview?
Explain how the class “implementation” is represented in objective-c?
What is abi stability?
Why we use synthesize in objective c?
How to create thread in objective c?
What is autoclosure?
How to call objective c function in swift?
What are the rules for identifiers?
What is the difference between a script and function?
How to declare variable in objective c?
What is a dispatch function?
What is objective c programming used for?