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


When to use nsautoreleasepool??



When to use nsautoreleasepool??..

Answer / Prabhakar Singh

In Objective-C, you should use the `NSAutoreleasePool` when you have multiple objects that need to be released one after another, but you don't know exactly where or when they will be released. By using an autorelease pool, these objects are automatically released at specific points in time during the runloop.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What is nonatomic and strong in objective c?

1 Answers  


How messaging works in objective-c?

1 Answers  


What happens with the objects if the array is released?

1 Answers  


What is an example of tangible property?

1 Answers  


How to convert objective c project to swift?

1 Answers  


Can a static library (.a) contain resources like images, sound files etc?

1 Answers  


What is toll-free bridging? When is it useful?

1 Answers  


What is atomic property?

1 Answers  


What is the function of the category?

1 Answers  


What is the definition of an objective statement?

1 Answers  


What is gcd? What are its advantages over nsthread?

1 Answers  


Is a fact objective?

1 Answers  


Categories