What is difference between 'protocol' and 'delegate'?



What is difference between 'protocol' and 'delegate'?..

Answer / Ajay Pratap Singh

Protocol in iOS is a blueprint of a particular functionality that a class can implement, whereas delegate is a object that conforms to the protocol and handles the events or data when the event occurs.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

Define 'copy' keyword?

1 Answers  


What is mvc pattern in ios?

1 Answers  


What are ios protocols?

1 Answers  


What is ipad screen size?

1 Answers  


what is the difference between nonatomic & atomic ? which is thread safe and why

1 Answers  


 Is a delegate retained?

1 Answers  


Will iphone 7 get ios 13?

1 Answers  


Do you know what is iphone sdk?

1 Answers  


What is managed object context?

1 Answers  


What is the meaning of 'strong'keyword?

1 Answers  


Define ipa?

1 Answers  


How to edit iphone code

1 Answers  


Categories