Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how safe is it to mix ARC and non-ARC code in the same iOS project?

I'm modifying an open source app that is non-ARC. Most of my iOS experience is with ARC enabled objective-c, so when I create and add new files to the project I tend to make them ARC compliant using compiler flags (especially when i'm faced with weird non-arc code bugs).

The thing that keeps me up at night is the question: how safe and reliable is it to mix arc and non-arc code in my project? When QA time comes will it be a nightmare to test for things like memory leaks and performance etc etc? Asked another way.. is it worth converting the existing non-arc code to arc code and get rid of the potential trouble?

like image 248
abbood Avatar asked Feb 07 '13 07:02

abbood


1 Answers

You can mix freely without any problems.

like image 101
sosborn Avatar answered Nov 03 '22 00:11

sosborn