Hide deprecation warnings

Viewed 553

I am deprecating large parts of a Swift library of mine, using the @available attribute, as such:

@available(*, deprecated, message: "This will be removed in 1.4.0.")

However, I only want to these deprecation warnings to be displayed for developers who use the library. I do not want the library project to display these warnings.

Any idea how to do this?

0 Answers
Related