首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

怎么关闭不使用Automatic Reference Counting(ARC)

2012-08-01 
如何关闭不使用Automatic Reference Counting(ARC)? ? ? ? ???我們來看看如何關閉Automatic Reference Cou

如何关闭不使用Automatic Reference Counting(ARC)

? ? ? ? ??

?

我們來看看如何關閉Automatic Reference Counting的機制吧,
方法總共有兩種:

1. 新開專案
若你的專案是新開的,
那麼只要在開專案時反勾選"Use Automatic Reference Counting"的選項即可,
這個專案就可以自行完成記憶體管理的動作。

怎么关闭不使用Automatic Reference Counting(ARC)

//----------------------------------------------------

在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?点击链接前往查看原文.

热点排行