Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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