Question:
Xcode [Deprecated meaning?]?
apple
2012-07-12 11:42:12 UTC
I have found that a method is "Deprecated" in iOS 5.0... Does that mean that iOS 5.0 can't run it? Will iOS 6.0 run it? etc... or is this just an old method that doesn't really matter id you use it.. ??
Three answers:
Unca Alby
2012-07-12 12:42:58 UTC
It means that, while you can still use it *now*, you should be making preparations to replace it with the newer preferred method, whatever those method(s) may be. Usually there is some issue regarding security, susceptibility to errors, style, etc. as their reasoning behind wanting people to stop using it, and use the new preferred way instead.



But in the meantime, it's still available. You've simply been put on notice it might not be available in some future release.
?
2016-10-08 12:41:03 UTC
Deprecated Meaning
anonymous
2012-07-12 14:58:32 UTC
When a method is deprecated it means you should not be using it because there is a better method. The reason they leave the method in the program is so that it doesn't break legacy code- code that was created before the method became deprecated. It's NEVER good practice to continue to use deprecated methods because it will become obsolete quickly and cause you problems when you have to update your code.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...