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

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -