ARC专题:编写兼容ARC(自动引用计数) 和 non-ARC(非自动引用计数)的通用代码

下面这段宏可以解决这个问题,而不用同时编写2套代码

写法用传统的non-ARC写法

http://raptureinvenice.com/arc-support-without-branches/





posted @ 2012-02-07 17:19  javawebsoa  Views(338)  Comments(0Edit  收藏  举报