简体   繁体   English

CHDataStructures是否兼容ARC?

[英]Is CHDataStructures ARC-compliant?

The documentation probably says, but I'm a newbie and can't yet make sense of it all. 该文档可能会说,但是我是一个新手,还无法理解所有内容。 I'm having all sorts of ARC errors trying to use it, but I'm hoping it's just my own mistake(s). 我在尝试使用它时遇到各种ARC错误,但我希望这只是我自己的错误。

As borrrden points out, it is easy o see it is not ARC-complient. 正如borrrden所指出的,很容易看出它不符合ARC。

But: It doesnt have to be ARC-complient, you can activate/deactivate ARC for single files by adding the 但是:不一定要符合ARC,您可以通过添加以下命令来激活/停用单个文件的ARC:
-fno-objc-arc compiler flag for those files. 这些文件的-fno-objc-arc编译器标志。

add compiler flags in Targets -> Build Phases -> Compile Sources Targets -> Build Phases -> Compile Sources添加编译器标志

在此处输入图片说明

Look at 1) The last time it was updated (largely 2 years ago) and 2) The retain and release statements peppered everywhere. 看一下1)最后一次更新(大约2年前)和2)保留和释放语句随处可见。 No, this project is not ARC compliant... 不,这个专案不符合ARC ...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM