What is protocol with example?
Answer / Prateek Trivedi
A protocol defines a blueprint of methods, properties, and other requirements that suit a particular task or piece of functionality. An example of a protocol in Objective-C is UITableViewDataSource, which specifies the methods to be implemented by an object to supply data for display in a table view.
| Is This Answer Correct ? | 0 Yes | 0 No |
How is string represented in objective-c?
What is typedef objective c?
What happens if you add your just created object to a mutable array, and you release your object?
What is toll-free bridging?
What is a delegate objective c?
Is objective c faster than swift?
What is protocol in simple words?
What does mean in xcode?
Explain how to call function in objective-c?
How do I create an objective c class in xcode?
What is thread safe function?
What is objective c & why it is used for?