What is delegate protocol in ios?



What is delegate protocol in ios?..

Answer / Gautam Kumar Singh

A delegate protocol in iOS defines a set of methods that a class can adopt to handle specific events or actions. The class that adopts the protocol, often called the delegate, will be notified when certain occurrences happen (e.g., table view scrolling, keyboard appearance). The delegate object is then responsible for implementing those methods to react accordingly.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

What is the first responder and responder chain?

1 Answers  


What is urlsession?

1 Answers  


What is the meaning of 'weak' keyword?

1 Answers  


Is core data is thread safe?

1 Answers  


what is the difference between bounds and frame?

1 Answers  


Explain steps for using coredata?

1 Answers  


What is the viper?

1 Answers  


Are ios developers in demand?

1 Answers  


What is categories in iOS?

1 Answers   UGC Corporation,


What is a difference between stack and heap memory?

1 Answers  


what is your preferred programming language? Why? How long will it take you to learn a new programming language?

1 Answers  


What is the use of appdelegate in ios?

1 Answers  


Categories