SwiftUI: Handling optionals — Erica Sadun

You can see how much more elegant the map version is in comparison. Force-unwraps make unicorns cry and contribute to overall levels of human misery. That’s not to say that if isn’t useful, rather it’s just not my preferred approach for optionals in SwiftUI:

Source: SwiftUI: Handling optionals — Erica Sadun