Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can delegates be retained?



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

Post New Answer

More Objective-C Interview Questions

Does objective c have multiple inheritance?

1 Answers  


What are the delegate?

1 Answers  


Is objective c hard to learn?

1 Answers  


What's the difference between a thread safe and a thread unsafe function?

1 Answers  


What number distinctive annotations is accessible in objective-c?

1 Answers  


What is objective c written in?

1 Answers  


How to sort array of dictionary in objective c?

1 Answers  


What is the point of closures?

1 Answers  


What is the difference between underscore and self (i.e self.xx and _xx) ?

1 Answers  


How would I make a static strategy?

1 Answers  


Can we create dynamic classes in objective c?

1 Answers  


How to convert objective c project to swift?

1 Answers  


Categories