# \[Pitch\] Attribute to silence Deprecation Warnings for a specified scope

**URL:** <https://forums.swift.org/t/pitch-attribute-to-silence-deprecation-warnings-for-a-specified-scope/57791>\
**Category:** Pitches\
**Created:** [June 2, 2022, 8:17pm UTC](https://forums.swift.org/t/pitch-attribute-to-silence-deprecation-warnings-for-a-specified-scope/57791 "2022-06-02T20:17:03Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![tclementdev](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/tclementdev/32/13398_2.png) [@tclementdev](https://forums.swift.org/u/tclementdev)\
**Post date:** [June 3, 2022, 5:44pm UTC](https://forums.swift.org/t/pitch-attribute-to-silence-deprecation-warnings-for-a-specified-scope/57791/11 "2022-06-03T17:44:29Z")

</div>

It is also not just a matter of having a replacement API: sometimes the new API is buggy and does not work as well as the deprecated one. Third-parties sometimes need to wait several iterations of the OS (which in the case of Apple means several _years_) before being able to use the new API. Ideally we would not need to silence deprecation warnings, but the reality we live in is different.

---

_[View the full topic](https://forums.swift.org/t/pitch-attribute-to-silence-deprecation-warnings-for-a-specified-scope/57791)._
