Does iOS 4.3 support ARC

和自甴很熟 提交于 2020-01-23 17:52:06

问题


I tried googling but i was unable to locate the Apples Documentation where they say that ARC - automatic reference counting supports for iOS 4.3. Can someone tell me if this is true ? if so can you post me a link to apples documentation where it says so.


回答1:


Transitioning to ARC:

ARC is supported in Xcode 4.2 for Mac OS X v10.6 and v10.7 (64-bit applications) and for iOS 4 and iOS 5. Weak references are not supported in Mac OS X v10.6 and iOS 4.




回答2:


Though ARC is in the new features list of iOS 5, apparently it is enabled by the compiler and that capability became 'switched on' for iOS 4 at the same time the updated compiler for iOS 5 was released.

I was provided this general clarification from Apple DTS. Cheers,



来源:https://stackoverflow.com/questions/8771791/does-ios-4-3-support-arc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!