Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tool for transitioning to ARC

I want to transition my App to ARC. I can change Objective-C Automatic Reference Counting to YES but that does not automatically remove releases retains etc.

The Transitioning to ARC Release Notes states:

Xcode has a new tool that automates the mechanical parts of the ARC conversion (such as removing retain and release calls) and helps you to fix issues the migrator can’t handle automatically. The migration tool converts all files in a project to use ARC. You can also choose to use ARC on a per-file basis if it’s more convenient for you to use manual reference counting for some files.

How do I invoke this tool in Xcode?

like image 774
Besi Avatar asked Jan 23 '12 09:01

Besi


1 Answers

Oh man I just found it:

Convert > To Objective-C ARC

I checked in Xcode's help first where I could not find it.

enter image description here

like image 144
Besi Avatar answered Nov 16 '22 05:11

Besi