JustMac.info

22.09.2011 19:35 Uhr, Quelle: The Unofficial Apple Weblog

Dev Juice: Automatic Reference Counting

Dear Dev Juice, I'm so confused. Is ARC Automatic Reference Counting or Automated Reference Counting? And is it Manual Retain and Release or Manual Reference Counting? Help a guy out. Paul W. Dear Paul, Let's separate those two questions because there's a cut-and-dried answer for the first, but not for the second. ARC refers to the new LLVM Objective-C automated memory management scheme. With ARC, you can focus more on your code semantics, leaving many of the memory issues to the compiler. Without a doubt ARC stands for Automatic Reference Counting. You can confirm this for yourself by visiting the official Technical Specification page

Weiterlesen bei The Unofficial Apple Weblog