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 |
Explain when to use nsarray and nsmutablearray. Which one is faster and threadsafe?
How to call function in objective-c?
Is a fact objective?
Distinguish between @synthesize and @dynamic in objective –c?
How to create thread in objective c?
Explain the difference between #import and #include in objective-c?
What is toll-free bridging and when is it useful?
What are the three main types of property?
How the class “implementation” is represented in objective-c?
What is .m file in objective c?
What is a hash string?
Is it possible to implement dealloc in arc?