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 |
Is swift or objective c better?
Why swift is better than objective c?
What does mean in objective c?
Does objective c have multiple inheritance?
What is difference between array and nsarray?
Is objective c faster than swift?
How to call function?
What are objective- c blocks?
What objective-c program consists of?
What is property classification?
What is the difference between function and objective?
Is swift faster than objective c?