InterviewSolution
Saved Bookmarks
| 1. |
What are NSAutoreleasePool and how can we use them? |
|
Answer» NSAutoreleasePool SUPPORTS Cocoa’s memory management system and it stores OBJECTS that are sent when the pool is drained. When you use Automatic Reference Counting, you cannot use autorelease POOLS. So, you should use @autoreleasepool blocks. For example, instead of: |
|