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 nonatomic and strong in objective c?
How messaging works in objective-c?
What happens with the objects if the array is released?
What is an example of tangible property?
How to convert objective c project to swift?
Can a static library (.a) contain resources like images, sound files etc?
What is toll-free bridging? When is it useful?
What is atomic property?
What is the function of the category?
What is the definition of an objective statement?
What is gcd? What are its advantages over nsthread?
Is a fact objective?