When will Apple remove the methods/APIs marked as deprecated? After 2 or 3 releases after they were marked, or never?
We do not recommend that you use deprecated API methods. Although they may continue to be backwards compatible, there may be unexpected or unwanted behavior. Always replace the API methods that are no longer supported. Check the Deprecated API Methods and API Reference for these methods.
Deprecation means that we've ended official support for the APIs, but they will continue to remain available to developers.
Navigate to Issue Navigator. In the Issue navigator, type "deprecated" in the below filter. Now you will be able to see all (and only) deprecated Buildtime warnings.
Deprecated methods or classes that are outdated one which will eventually be removed.
In common usage deprecation merely means that the feature is no longer recommended to be used and MAY be removed entirely in a later release.
Wikipedia - Deprecation
It is good practice to stop using deprecated features as soon as it is reasonable to, as you have no guarantee how long they will continue to be supported. Sometimes it could be as little as the next release or many dozens of versions later.
A quick search for Apple and Deprecation brought up this API reference where a feature has been deprecated but has survived at least one major OS revision.
https://developer.apple.com/library/ios/documentation/uikit/reference/UIDevice_Class/DeprecationAppendix/AppendixADeprecatedAPI.html
So yeah, when will Apple remove them? Whenever they want to, so don't build stuff now that relies on them and move old code off of them as you can. The compiler will usually throw warnings when features that are being used have been deprecated.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With