A protocol, declared with the ( @protocol syntax in Objective-C) is used to declare a set of methods that a class "adopts" (de...
Thursday, 9 April 2015
What is Protocol?
A protocol is a collection of methods that any class can choose to implement. This can be useful when you are creating family of similar classes that all need to communicate with a common control class.
No comments:
Post a Comment