Skip to content

Instantly share code, notes, and snippets.

@tsh-code
Created January 21, 2019 15:43
Show Gist options
  • Save tsh-code/37a50d39a9ad2ad1dbfcc81e707e3f45 to your computer and use it in GitHub Desktop.
Save tsh-code/37a50d39a9ad2ad1dbfcc81e707e3f45 to your computer and use it in GitHub Desktop.
PO-WalkingRunning.swift
protocol Walking {
func walk()
}
extension Walking {
func walk() {
print("🚶🏻‍♀️")
}
}
protocol Running {
func run()
}
extension Running {
func run() {
print("🏃🏻")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment