Skip to content

Instantly share code, notes, and snippets.

Created Jul 12, 2017
What would you like to do?
class Cat : Animal, Eye{
var isIdle: Bool? = true
func run() {
print("Cat is running now")
func stop() {
print("Cat has stopped now")
func closeEyesAndSleep() {
print("Cat is sleeping now")
func openEyesAndLookAround() {
print("Cat is looking around")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment