0 votes
in Technology by (1.7m points)

Explain what is protocol in Objective-C?

1 Answer

0 votes
by (1.7m points)

A protocol declares a programmatic interface that any class may choose to implement. Protocols make it possible for two classes distantly related by inheritance to communicate with each other to accomplish a certain goal.