Last active
October 19, 2015 07:17
-
-
Save yannxou/e76b19695d670306d559 to your computer and use it in GitHub Desktop.
Swift 2: Function documentation example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Swift 2 function documentation example | |
/** | |
Documentation with optional Markdown syntax | |
- returns: Bool | |
- parameter param1:String | |
- parameter param2:String | |
- Throws: error lists | |
*/ | |
private func function(param1: String, param2: String) -> Bool { | |
return true | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment