Skip to content

Instantly share code, notes, and snippets.

@faganello60
Created April 2, 2019 12:46
Show Gist options
  • Save faganello60/22fc10f41fac912f2bee16dc7016fa2e to your computer and use it in GitHub Desktop.
Save faganello60/22fc10f41fac912f2bee16dc7016fa2e to your computer and use it in GitHub Desktop.
class Personage {
func compliment() {
print("Hi there")
}
}
class Singer: Personage {}
let operaSinger = Singer()
operaSinger.compliment()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment