Bigair
Bigair

Reputation: 1592

What does "deprecated" really mean in iOS

In iOS development, deprecated methods can be used until they are "removed".

I understand deprecated methods are not suggested to be used but does that mean they might not work properly or can cause fatal problem?

Upvotes: 2

Views: 5583

Answers (1)

Ankit Jayaswal
Ankit Jayaswal

Reputation: 5679

What are deprecated methods:

Deprecated methods or classes that are outdated one which will eventually be removed.

Apple deprecates some methods/ classes, when they introduce a superior replacement, usually because they want to take advantage of new hardware, OS or language features (e.g. blocks) that were’t around when the original method was conceived.

When a deprecated method will be removed:

It depends according to the severity of method/property. For example:

cell.textColor

This property has been deprecated since iOS 3.0 and we can still use it. So unfortunately there's no any tight deadline of removing the stuff being deprecated.

Upvotes: 6

Related Questions