What is protocol in iOS
2792
26-Feb-2015
What is protocol in iOS?
Updated on 27-Feb-2015
Anonymous User
27-Feb-2015A protocol is a group of related properties and methods that can be implemented by any class.
Objective-C allows you to define protocols, which declare the methods expected to be used for a particular situation.
Lets understand this with the help of an example