Created
May 19, 2017 13:46
-
-
Save ezura/1b3073ec2a7a6fd6c6b83d5f4d3d1b57 to your computer and use it in GitHub Desktop.
string literal の方が妥当な気がする #swift #CodePiece
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
| class Type: NSObject { | |
| let value = 1 | |
| } | |
| let staticString: StaticString = #keyPath(Type.value) | |
| let string: String = #keyPath(Type.value) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment