What is delegate? Can delegates be retained?



What is delegate? Can delegates be retained?..

Answer / Ambikesh Kumar Shukla

Delegate is an object that adopts a protocol and handles specific events or tasks for another object, also known as the controller. Yes, delegates can be retained, but it's important to release them properly in memory management.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Tell me something about objective-c blocks?

1 Answers  


What are the size classes?

1 Answers  


What is a .m file?

1 Answers  


What does the objective c program fundamentally comprise of?

1 Answers  


What is extern objective c?

1 Answers  


Does objective c have pointers?

1 Answers  


What can’t we put into an array or dictionary?

1 Answers  


What is protocol in simple words?

1 Answers  


What is a block objective c?

1 Answers  


What is gcd objective c?

1 Answers  


Explain what is data encapsulation in objective-c?

1 Answers  


What is polymorphism in objective-c?

1 Answers  


Categories