In Objective-C, a protocol is a language feature, that provides multiple inheritances in a single inheritance language. Objective C supports two types of protocol.
- Ad hoc protocols known as informal protocol
- Compiler protocols are known as formal protocol