Last active
December 11, 2020 03:17
-
-
Save stevenchou1130/4e9d4e754918887c9ec0e110d585c070 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Sam: Engineer, Swiftable { | |
let team: Team | |
let isKnowSwift: Bool | |
} | |
let sam = Sam(team: .android, isKnowSwift: true) | |
print("Sam can develop iOS: \(sam.canDevelopiOS)") | |
// Sam can develop iOS: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment