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 what do you mean by dot notation?
What is the difference between typedef and enum?
What is umbrella header?
What are the attributes of category?
What is class extension?
What is the principle distinction between the function calls and messages?
Is objective c type safe language?
Is method and function same?
Does objective c support multiple inheritance?
What is single inheritance in objective-c?
What is a nsstring?
How do I create an objective c class in xcode?