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 copy increase retain count?
How does dispatch_once manages to run only once?
Will objective c be deprecated?
What is assign property in objective c?
Can a static library (.a) contain resources like images, sound files etc?
Is objective c and c the same?
Is it possible to implement dealloc in arc?
What are benefits of collections views?
What is class extension?
How to convert nsnumber to nsstring in objective c?
What is nonatomic and strong in objective c?
Is c and objective c the same?