[swift-evolution] [Review] SE-0006 Apply API Guidelines to the Standard Library
me at benrimmington.com
Fri Feb 5 14:29:08 CST 2016
> precondition was renamed to require.
In the Standard Library, "- Requires:" appears in documentation comments more often than "- Precondition:" or "- Postcondition:", so renaming the function makes sense.
However, I think the Xcode Markup Formatting Reference should be updated to reflect this usage. The current description is:
> Use the field to add requirements such as frameworks for using the symbol.
> An example of using the requires field
> - requires: Contacts framework
> - requires: OS X version 10.11 or better
More information about the swift-evolution