Few months back, when I started developing apps for iOS (I was experienced Java Developer), my colleagues who were experienced in iOS warned me to stay away from ARC (as they claim its kinda buggy). Now I’m pretty comfortable with MRR. But I want to move on to ARC if it really worths. While looking in Apple’s documentation i.e. “About Memory Management”. I found:
“If you plan on writing code for iOS, you must use explicit memory management“
So I’m still confused whether to go for ARC or not. I am only concered about iOS (not Mac development).
Thanks.
Your colleagues don’t sound experienced with iOS. ARC isn’t buggy. Every single experienced iOS developer I’ve heard mention ARC has done so in approving terms. I have over three year’s experience with iOS and I would strongly recommend ARC, so long as you actually understand what’s going on under the hood. Apple themselves, in the very guide you link to say:
When Apple say that you must use explicit memory management, they are grouping traditional manual memory management and ARC together as explicit memory management, in contrast to garbage collection.
Also, note that you linked to documentation in the Mac developer library, not the iOS developer library. If you need to develop for iOS, use the iOS developer library.