Skip to content

Instantly share code, notes, and snippets.

@halilozel1903
Created July 7, 2018 21:31
Show Gist options
  • Select an option

  • Save halilozel1903/e19024cf8b3f0773f42edd58d2a18ce2 to your computer and use it in GitHub Desktop.

Select an option

Save halilozel1903/e19024cf8b3f0773f42edd58d2a18ce2 to your computer and use it in GitHub Desktop.
class Shape {
var numberOfSides = 0
func simpleDescription() -> String {
return "A shape with \(numberOfSides) sides."
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment