Skip to content

Instantly share code, notes, and snippets.

@benaneesh
Created June 18, 2016 13:33
Show Gist options
  • Save benaneesh/4744f36d8685b1560acb1ab2dc006865 to your computer and use it in GitHub Desktop.
Save benaneesh/4744f36d8685b1560acb1ab2dc006865 to your computer and use it in GitHub Desktop.
// Usual:
/**
This method prints the name of the user we want to great to and
returns the connected user.
- parameter user: The user we want to greet.
- returns: The user we talked to.
*/
// Possible:
/**
This method prints the name of the user we want to greet and
returns the connected user.
- parameter user: The user we want to greet.
- returns: The user we talked to.
- precondition: *firstName* should **not** be empty.
- requires: 2 instances of *User*.
- remark: Imagininary related function goes here.
- seealso: User struct.
- todo: Some improvements.
- version: 1.0
- author: Moritz
- note: Quite a few tags, right? 😁
*/
// Code:
````
// test comment
let testConstant = 1
if 1 != 1 {
print("💩")
}
````
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment