Created
October 7, 2018 16:33
-
-
Save vialyx/ec1f56dd952c2618b00f0a8f23b9f4ff 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 Pin { | |
var value: String { | |
willSet { | |
print("new pin value: \(newValue)") | |
} | |
didSet { | |
print("old pint value: \(oldValue)") | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment