What are the different types of protocols?
Answer / Shobha Kumari
In Objective-C, there are three main types of protocols: (1) Protocols with methods declaration only - these define a set of methods that a class must implement. (2) Protocols with methods implementation - these are also known as C categories and provide method implementation for Objective-C classes. (3) Delegation protocols - these define a protocol to be followed by an object to handle events or messages from another object.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a .m file in xcode?
Does objective c support multiple inheritance?
What are class b properties?
What type of language is objective c?
How do I create an objective c class in xcode?
What is gcd objective c?
Can a protocol have properties?
How to call a function in objective-c?
What is super in objective c?
What is a nsstring?
How do you write an objective?
Explain what is protocol in objective-c?