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 |
What is a dispatch method?
Is there function overloading in objective-c?
Which class is used to establish a connection between applications to the web server?
Who made objective c?
When might you use a cfarray/dictionary instead of a nsarray/dictionary?
Why do we require class extension?
What are the differences between copy and retain?
What is delegate? Can delegates be retained?
How to call function in objective-c?
What is nonatomic in objective c?
Does copy increase retain count?
What is objective c and swift?