将非ARC项目切换到ARC [英] Switching the non ARC project into ARC

查看:76
本文介绍了将非ARC项目切换到ARC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是iPhone开发的新手.我了解到ARC是IOS现在引入的一项新功能.我的问题是,我有一个旧的Non ARC项目,该版本是手动编写的,是否可以将该项目从Non ARC切换到ARC?

I am new to iphone development. I have learnt that ARC is a new feature introduced in IOS now . My question is, I have an old Non ARC project with the release written manually, is it possible to switch this project from non ARC to ARC ?

谢谢

Raj

推荐答案

请确保您使用的是版本控制,然后使用:

Make sure you are using version control, then use:

编辑>重构>转换为Objective-C ARC…

Edit > Refactor > Convert to Objective-C ARC…

这篇关于将非ARC项目切换到ARC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆