0
は、これらの2つの宣言を考えてみましょう:オプションと暗黙的にアンラップされたオプションの違いは何ですか?
var implicitUnwrappedOptionalInt: Int! = nil
var optionalInt: Int? = nil
結果は、両方のケースでnil
だろう。違いは何ですか?
は、これらの2つの宣言を考えてみましょう:オプションと暗黙的にアンラップされたオプションの違いは何ですか?
var implicitUnwrappedOptionalInt: Int! = nil
var optionalInt: Int? = nil
結果は、両方のケースでnil
だろう。違いは何ですか?
これと同様の問題は十分でしょう。http://stackoverflow.com/questions/24006975/why-create-implicitly-unwrapped-optionals – Khundragpan