I want to use the available
attributes in my package to specify when some API becomes available, or for when some API becomes deprecated.
https://docs.swift.org/swift-book/ReferenceManual/Attributes.html
At the moment, it seems I can only specify the release of the operating system (not the release of my package). Is this correct?
So for instance I have a package named JellyBeans
and the following suggests that the API was deprecated in the release of iOS 2.0.1, (as opposed to the release of JellyBeans
2.0.1).
@available(iOS, deprecated: 2.0.1)