如何关闭不使用Automatic Reference Counting(ARC)
? ? ? ? ??
?
我們來看看如何關閉Automatic Reference Counting的機制吧,
方法總共有兩種:
1. 新開專案
若你的專案是新開的,
那麼只要在開專案時反勾選"Use Automatic Reference Counting"的選項即可,
這個專案就可以自行完成記憶體管理的動作。
//----------------------------------------------------
在Apple LLVM compiler 3.1 - Language里是Objective-C Automatic Reference Counting = No
Objective-C Garbage Collection = Unsupperted
//----------------------------------------------------
?
本文引用部分http://blog.riaproject.com/objective-c/1845.html?点击链接前往查看原文.