Answer Posted / Sunil
Protocols in Objective-C are essentially blueprints of method signatures that a class can choose to adopt. There are two types of protocols: protocol with methods and protocol without methods (also known as a marker protocol). A protocol with methods declares required and optional methods, while a protocol without methods just lists the names of the methods but does not declare them.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category