What is a Protocol in Objective-C Programming Language?

Submitted by: Muhammad
A Protocol is used to define a list of required optional methods that a class needs to implement. If a class adopts a protocol, it must implement all the needed methods in the protocols it adopts. It is identical to an Interface in Java and also to a purely Virtual Class in C++. Cocoa uses protocols to support interprocess communication through Objective-C messages.
Submitted by: Muhammad

Read Online iOS Developer Job Interview Questions And Answers