Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个正在开发的应用程序,我刚开始使用 iOS 5。我想开始使用自动引用计数,但我不确定迁移到 iOS 5 或至少需要采取哪些步骤打开 ARC。
如果您查看Edit > Refactor菜单,您会看到一个名为Migrate to Objective-C ARC. 该工具将帮助您将代码转换为 ARC。
Migrate to Objective-C ARC
iOS 5 文档尚未公开查看,但在您的 Xcode 中,您可以前往 Organizer 并查看文档。搜索“使用 ARC 发行说明进行编程”,那里有一个文档,希望能回答您对该过程的大部分问题。