What is the purpose of the protocol?
Answer / Rahul Ranjan
The purpose of a protocol in Objective-C is to define a blueprint of methods, properties, and other requirements that suit a particular task or object. Protocols allow objects to provide common functionality, even if they don't share a common superclass.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain class definition in objective-c?
What is dynamic dispatch method?
What is the difference between a script and function?
How to use objective c file in swift?
Explain what is data encapsulation in objective-c?
What is toll-free bridging?
Explain the way messaging works in objective-c?
Which class is used to establish a connection between applications to the web server?
What is block in objective c?
Is c++ objective c?
What do you mean by @synthesize and @dynamic in the objective-c? And also explain what do you mean by synthesized in objective-c?
Can we have multiple uiwindows in ios?