What do you understand by protocol?
Answer / Archana Mishra
In Objective-C, a protocol is a collection of methods that a class can optionally implement to conform to certain standards or behaviors. It allows communication between objects and provides a way to define interfaces for objects that may be used together.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is difference between method and constructor?
Does objective c have pointers?
What is an extension?
Who calls dealloc method? Can we implement dealloc in arc?
Can I write some c++ function in same .m file? Will it compile? If no, what changes should I do to compile it?
Is apple stopping supporting objective c?
Explain application life cycle or application states?
Is struct a class?
How to call methods in objective c?
What are properties and instance variables in objective c and swift?
What does the gc () method?
What is lazy var?