What do you mean by " Protocol "? Tarun Kumar220604-Sep-2015iphoneiphone ios objective c Updated on 18-Sep-2020
Tarun Kumar
04-Sep-2015A Protocol is a feature in objective C that provides multiple inheritance in a single inheritance language.
Objective C supports two types of protocols:
- Ad hoc protocols called informal protocol
- Compiler protocols called formal protocols
We can create our own autorelease pool as soon as the thread begins executing; otherwise, our application will leak objects.