You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 1, 2023. It is now read-only.
Currently, swift-doc only shows the @available(... grouped together with the code
Would it be possible for swift-doc to support @available attributes, so that end users can see which protocols, functions, etc are no longer supported?
I've come with some Acceptance Criteria of sorts that I think is needed.
@available(... should be split out from the main code description
Currently, swift-doc only shows the
@available(...grouped together with the codeWould it be possible for swift-doc to support
@availableattributes, so that end users can see which protocols, functions, etc are no longer supported?I've come with some Acceptance Criteria of sorts that I think is needed.
@available(...should be split out from the main code descriptiondeprecated) should be shown with theDeprecatedmarker similar to Apple Docs ex: https://developer.apple.com/documentation/uikit/uiactionsheetrenamed) should also show a warning section with the string at the top of the view. ex: https://developer.apple.com/documentation/security/secaccesscontrolcreateflags/1617988-touchidanydeprecatedwe should strikethrough. ex: https://developer.apple.com/documentation/uikit/uiactionsheet