> > BTW, one site we looked at describes ARC as "kind of like a Japanese B-horror > movie". That seems accurate. >
I don’t know what site wrote that but it couldn’t be less accurate. ARC is one of the better pieces of technology Apple introduced into Objective-C and it cut down on a huge number of memory leaks and random crashes which came from people messing up implementing retain/release manually. And it interoperated with manual retain/release. And unlike other solutions to memory management it doesn’t have a garbage collection thread running somewhere looking for things to deallocate and reference loops. And Apple, when they introduced it, added tools into XCode and Instruments to find reference loops so you could fix them before you ship. You have to learn a couple of rules, and really just a couple, and think about the ownership of your objects, which most of the time is trivial. Your reward is an application with deterministic and memory handling without having to scrub through the code working out who ought to release an object. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com