Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Swift method doc format
The description of the method
- parameter parameterName1: description of param
- parameter parameterName2: description of param
- returns: description of return value
(undefined but common things)
- complexity: O(1).
- note: a note
- requires: The next value is representable.
- warning: This can be expensive the first time
- SeeAlso: `String.init<T>(reflecting: T)`
func method(parameterName1: Any, parameterName2: Any) -> Int { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.