Apple says Mac app makers must transition to ARC memory management by MayIn an announcement posted to Apple's developer portal on Friday, the notified app makers that all Mac App Store submissions will soon be restricted from using garbage collection in favor of the Automatic Reference Counting (ARC) compiler feature.
The announcement calls for developers to migrate upcoming and existing Mac apps away from garbage collection memory management, which was deprecated with the release of OS X 10.8 Mountain Lion, to the more efficient ARC scheme by early May.
ARC is a compiler feature that provides automatic memory management of objects when using the Objective-C programming language, allowing developers an alternative to traditional retain and release code.
Developers are urged to use Xcode's migration assistant when transitioning, as the tool includes an automated conversion feature that, among other operations, removes retain and release calls from an app's code.
Apple notes that apps distributed through the Mac App Store may continue to use retain and release operations for manual memory management.
The new stipulation takes effect on May 1 and applies to both new Mac apps and update submissions.
On Topic: Mac OS X
- Inside APFS: new Apple File System detailed at WWDC to replace HFS+ in 2017
- Apple releases Safari 10 beta for OS X El Capitan and OS X Yosemite
- E3 2016: 'Block'hood' represents the Mac at console-dominated gaming show
- Inside Sierra: How Apple Watch 'Auto Unlock' will let you jump straight into macOS
- 'Universal Clipboard' for macOS Sierra & iOS 10 streamlines copy/paste between devices