This blog post looks at a few techniques that can be used to remove the deeply nested if-let statements that are a common sight in Swift code.
I know Swift’s optionals are good for me, their strictness make my applications safer. But like that strange banana flavour medicine I recall the doctor giving me as a child, optionals leave a bad taste in my mouth!
Read more on SCOTT LOGIC’s blog.