Explain what is protocol in objective-c?



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

Post New Answer

More Objective-C Interview Questions

What are static attributes?

1 Answers  


What do you mean by category and when to use it?

1 Answers  


What are the rules for identifiers?

1 Answers  


Can you use swift and objective c together?

1 Answers  


Tell me about important protocol being used in objective c?

1 Answers  


Is objective c hard to learn?

1 Answers  


What is id?

1 Answers  


What is an example of tangible property?

1 Answers  


Does objective c have function overloading?

1 Answers  


What are benefits of collections views?

1 Answers  


How do I create a bridging header file?

1 Answers  


Explain what do you mean by synthesized in objective-c?

1 Answers  


Categories