iOS Developer Question:

Download Job Interview Questions and Answers PDF

What is "Protocol" on objective c?

iOS Developer Interview Question
iOS Developer Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Explain the difference between Cocoa and Cocoa Touch?Explain me how to parse JSON?