Swift iOS Development
guard let try? Is a Neuralyzer for Your Errors. Swift's New guard do/catch Pitch Wants to Fix It.
guard let x = try? throws away the error, so a renamed JSON key becomes a silent empty screen. Here's what try? really hides in iOS apps (decoding failures, nil vs thrown, Task.sleep cancellation loops), the do/catch pattern that keeps the error without nesting today, and what the guard do ... catch Swift Evolution pitch proposes.
9 min read
Swift 6 Error Handling
Typed Throws in Swift 6: A Real Migration, and the Wall It Hits at a Protocol
Swift 6's typed throws (throws(SomeError)) let you catch errors exhaustively without a default case. Applied to BrewLog's real NetworkClient, here's what actually improves — and the protocol boundary where typed throws quietly stops helping.
7 min read