文件名称:The Completed Guide to Understanding Swift Optional
文件大小:1.91MB
文件格式:PDF
更新时间:2021-08-11 09:14:13
iOS optional
In this free guide you will learn: What problems optionals solve and why exactly you need them in the first place. You can start using them immediately in your code, even if they seem to make no sense to you right now. You will finally understand where ! and ? go, what they mean in each context and use them confidently without having the compiler bothering you all the time When it’s not dangerous and actually needed to use implicit unwrapping, even if it has caused many crashes in your app until now Some of the advanced optional techniques that the pros use to simplify their code, even if you don’t know anything about functional programming, monads and functors. A detailed explanation of all those obscure terms you keep reading on the web, like unwrapping, optional binding, nil coalescing and guard statements. Never find yourself again not understanding the articles you read online because these terms have no meaning for you