Sorry, this is probably a very bad question. Ive just started to learn Obj-C and I dont understand this:
Do I somewhere choose if to use ARC/MRR/… for memorymanagement? is it a setting or does it depend on how i write my code?
Please explain like im 5 🙂
It’s a build setting. In Xcode, click your project file, select Build Settings, search for
arc:For details about how you have to write your code with or without ARC, see the documentation. This is not something that can be summarized in a short answer. You might also want to check out the WWDC ’11 and ’12 videos about ARC: Introduction to ARC.