Skip to content

Instantly share code, notes, and snippets.

@TachibanaKaoru
Created December 11, 2018 21:23
Show Gist options
  • Save TachibanaKaoru/648b92fb9c971f685cd685ae7fc3de7d to your computer and use it in GitHub Desktop.
Save TachibanaKaoru/648b92fb9c971f685cd685ae7fc3de7d to your computer and use it in GitHub Desktop.
let person1 = Person(name: "🐱")
let person2 = Person(name: "🦁")
let person3 = Person(name: "🐷")
let person4 = Person(name: "🐼")
person1.normalHello()
person2.strongHello()
person3.weakHello()
person4.noescapeHello()
// 硐果
--- init 🐱 ---
--- init 🦁 ---
--- init 🐷 ---
--- init 🐼 ---
Hello, I am 🐱!
Hello, I am 🦁!
Hello, I am 🐷!
Hello, I am 🐼!
--- deinit 🐷 ---
--- deinit 🐱 ---
--- deinit 🐼 ---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment