4 ms·
Objective-C already has garbage collection in OS X, but it has been deprecated as of v10.8 in favour of ARC. http://en.wikipedia.org/wiki/Objective-C#Garbage_c
by mgile 14y ago
Objective-C already has garbage collection in OS X, but it has been deprecated as of v10.8 in favour of ARC.
http://en.wikipedia.org/wiki/Objective-C#Garbage_collection http://en.wikipedia.org/wiki/Objective-C#Garbage_collection
- kcl 14y agoA good point. Coming from the iOS side I missed this. I mentioned Xcode's garbage collection in passing, but pointing out that garbage collection is deprecated on OS X would've made a strong argument that ARC is the better way to do things.