iOS Developer Question: Download iOS Developer PDF

What is "Protocol" on objective c?

Tweet Share WhatsApp

Answer:

A protocol declares methods that can be implemented by any class. Protocols are not classes themselves. They simply define an interface that other objects are responsible for implementing. Protocols have many advantages. The idea is to provide a way for classes to share the same method and property declarations without inheriting them from a common ancestor

Download iOS Developer PDF Read All 102 iOS Developer Questions
Previous QuestionNext Question
Explain the difference between Cocoa and Cocoa Touch?Explain me how to parse JSON?