gpt4 book ai didi

objective-c - 在 Objective C 中使用已弃用的方法是否错误

转载 作者:行者123 更新时间:2023-12-03 17:30:22 33 4
gpt4 key购买 nike

今天我使用 10.7 SDK 编译我的应用程序,并且收到有关已弃用方法的警告。
我应该更改所有已弃用的方法吗?
在 Objective C 中使用不推荐使用的方法是错误的吗?

最佳答案

是的,您应该更改已弃用的方法,因为它们将来可能会消失。

In computer software standards and documentation, the term deprecation is used to indicate discouragement of usage of a particular software feature, usually because it has been superseded by a newer/better version. The deprecated feature still works in the current version of the software, but it may raise error messages or warnings.

Wiki: about Deprecation .

关于objective-c - 在 Objective C 中使用已弃用的方法是否错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10276179/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com