将非ARC项目切换为ARC

时间:2023-01-17 12:57:00

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 ?

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

Thanks,

Raj

1 个解决方案

#1


6  

Make sure you are using version control, then use:

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

Edit > Refactor > Convert to Objective-C ARC…

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

#1


6  

Make sure you are using version control, then use:

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

Edit > Refactor > Convert to Objective-C ARC…

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