How to: Objective-C: Why is autorelease (@autoreleasepool) still needed with ARC?
How to: Objective-C: Why is autorelease (@autoreleasepool) still needed with ARC?
Objective-C: Why is autorelease (@autoreleasepool) still needed with ARC?
For the most part with ARC (Automatic Reference Counting), we don’t need to think about memory management at all with Objective-C objects. It is not permitted to create NSAutoreleasePools anymore, however there is a new syntax:
@autoreleasepool { … }
My question is, why would I ever need this when I’m not supposed to be…
View On WordPress


















