I am building an app that uses ARC (Automatic Reference Counting), which means I from now on will not have to handle memory management as actively as I have done before. There are still things you have to consider when using ARC, but it makes memory management a lot easier and less tedious.
Previously, I also rewrote all non-ARC code, since the compiler will not compile
code that uses
dealloc (incorrectly) etc. However, I have now found
out that instead of rewriting all of your code, you can disable ARC for a single
file. Just add the file path to a flag to the file under “Build phases”, and the
compiler will ignore ARC for the specific file.
It is all wonderfully described on this page.