Skip to content

Instantly share code, notes, and snippets.

@yannxou
Last active October 19, 2015 07:17
Show Gist options
  • Save yannxou/e76b19695d670306d559 to your computer and use it in GitHub Desktop.
Save yannxou/e76b19695d670306d559 to your computer and use it in GitHub Desktop.
Swift 2: Function documentation example
/// 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