次のSwiftのコードで使用している技法名は何か?
1 2 3 4 5 |
var str: String? if let temp = str { print( temp ) } |
1.Nil Coalescing Operator
2.Optional Binding
3.Forced Unwrapping
4.Shadowing
コンピューターと情報処理
次のSwiftのコードで使用している技法名は何か?
1 2 3 4 5 |
var str: String? if let temp = str { print( temp ) } |
1.Nil Coalescing Operator
2.Optional Binding
3.Forced Unwrapping
4.Shadowing