swift - difference between implicitly unwrapped optionals and non-optionals -
if implicitly unwrapped optionals said in swift programming apple supposed have value why not use non-optionals instead ? know know non-optionals can't assigned nil there other difference?
is there other difference?
impilicitly unwrapped optional can compared nil
.
var a:string! if == nil { // nil }
Comments
Post a Comment