my app is developed with ARC disabled from the beginning, now i decided to take advantage of ARC techniques, when i try to convert the project to ARC i keep getting errors wherever release autorelease methods are exist, does that mean i have to dig into my project and get rid of any methods related to memory management? thanks
Asked
Active
Viewed 159 times
2 Answers
1
Yes, you are not allowed to use release
, retain
, or autorelease
in ARC code. If it's too much of a hassle, you can disable ARC on a per-file basis as described here: How can I disable ARC for a single file in a project?
-
3@mbg1987 There is a refactor option to help converting a project from non-ARC to ARC – Francesco Apr 20 '12 at 15:06
0
There are a lot of good references on the web that deal with automatic reference counting, e.g.
http://www.raywenderlich.com/5677/beginning-arc-in-ios-5-part-1
or
http://www.mikeash.com/pyblog/friday-qa-2011-09-30-automatic-reference-counting.html

Thorsten
- 12,921
- 17
- 60
- 79