When I moved to Objective C (iOS) from C++ (and little Java) I had hard time understanding memory management in iOS. But now all this seems natural and I know retain, autorelease, copy and release stuff. After reading about ARC, I am wondering is there more benefits of using ARC or it is just that you dont have to worry about memory management. Before moving to ARC I wanted to know how worth is moving to ARC.
- XCode has "Convert to Objective C ARC" menu. Is the conversion is that simple (nothing to worry about)?
- Does it help me in reducing my apps memory foot-print, memory leaks etc (somehow ?)
- Does it has much testing impact on my apps ?
- What are non-obvious advantages?
- Any Disadvantage of moving to it?
Watch the WWDC video on ARC: https://developer.apple.com/videos/wwdc/2011/?id=323
Apple's official stance in that video is that all apps that can use ARC should use ARC. The video goes into why, and is an excellent overview of the technology, so I'm not going to repeat it all here.