Difference between protocol and delegates?
What is the difference between a protocol and a delegate? and, How can we declare variables in a protocol class? Answer A protocol, declared with the (@protocol syntax in Objective-C) is used to declare a set of methods that a class “adopts” (declares that it will use this protocol) will implement. This means that you … Read more