Can delegates be retained?
Answer / Gaurav Khare
In Objective-C, delegates can be retained by setting their delegate property using `self` or by implementing the `retainDelegate` property on the delegate protocol. Retaining delegates helps prevent them from being deallocated before they have a chance to handle events.
| Is This Answer Correct ? | 0 Yes | 0 No |
Does objective c have multiple inheritance?
What are the delegate?
Is objective c hard to learn?
What's the difference between a thread safe and a thread unsafe function?
What number distinctive annotations is accessible in objective-c?
What is objective c written in?
How to sort array of dictionary in objective c?
What is the point of closures?
What is the difference between underscore and self (i.e self.xx and _xx) ?
How would I make a static strategy?
Can we create dynamic classes in objective c?
How to convert objective c project to swift?