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...


What are nsautoreleasepool? When to use them?



What are nsautoreleasepool? When to use them?..

Answer / Sonu Gautam

NSAutoreleasePool is a memory management tool in Cocoa that helps manage memory automatically. It collects objects marked with `autorelease` and releases them when the pool is drained, typically at specific points during the run loop. You should use autorelease pools when you have a complex object graph where it's difficult to manage memory manually.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Explain what are the attributes of category?

1 Answers  


What are the advantages of using objective-c?

1 Answers  


What is difference between c and objective c?

1 Answers  


Explain what do you mean by dot notation?

1 Answers  


What is struct in objective c?

1 Answers  


What is a delegate in objective c?

1 Answers  


What is the difference between weak and unowned?

1 Answers  


What are kvc and kvo? Provide an example.

1 Answers  


Tell me about important protocol being used in objective c?

1 Answers  


What do you mean by cocoa?

1 Answers  


What are the 5 principles of object oriented programming?

1 Answers  


What is the difference between function and objective?

1 Answers  


Categories