Affiliate Disclosure
If you buy through our links, we may get a commission. Read our ethics policy.

Apple says Mac app makers must transition to ARC memory management by May

Source: Apple

In 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.