Explain what is protocol in objective-c?
Answer / Kapil Solanki
A protocol in Objective-C defines a blueprint of methods, properties, and other requirements that suit a particular task or role. Protocols allow objects to communicate with each other by adhering to common interfaces. Multiple classes can conform to the same protocol and implement the required methods in their own ways.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are static attributes?
What do you mean by category and when to use it?
What are the rules for identifiers?
Can you use swift and objective c together?
Tell me about important protocol being used in objective c?
Is objective c hard to learn?
What is id?
What is an example of tangible property?
Does objective c have function overloading?
What are benefits of collections views?
How do I create a bridging header file?
Explain what do you mean by synthesized in objective-c?