This is guest post. Thanks Daniel for welcoming me into your blog.
I recently came across Daniel’s post on how to define the launch screen of iOS apps by leveraging the new SwiftUI app lifecycle. Just a couple of fields in the
Continue reading “(Stretched) Launch Screen Images in SwiftUI: The fix”
Info.plist and a color assets plus an image and you are good to go. I was immediately sold on the approach. Simple and elegant.
Most of our apps rely on network calls to work, and thanks to URLSession and Codable, consuming REST APIs has become a lot easier these days. That said, we are still writing quite a bit of code to deal with async calls, JSON encoding and decoding, HTTP error handling, and more.
With that in mind, let’s write our own simple networking library, specifically designed to consume REST APIs without effort, using a ‘convention over configuration’ approach, alongside Combine, URLSession, and the Codable protocol.
Continue reading “Writing a Networking Library with Combine, Codable and Swift 5”
After looking at the Redux approach, figuring things out and writing the previous set of posts (The Basics, Side Effects and Error Handling), I wanted to put it all in practice with a real app, and decided to rewrite Bouncer (again). Here is how it went…
Continue reading “Redux-like architecture with SwiftUI: Real World App”
In the previous post, we’ve implemented Middleware support to facilitate asynchronous operations and extended functionality, and today we will be following up with Error handling and improving our User Experience.
Continue reading “Redux-like architecture with SwiftUI: Error Handling”
In the previous post we went through setting up the basic architecture for iOS with Redux-like approach, and now we will be following up with additional optimizations and support for asynchronous functions or side effects.
Continue reading “Redux-like architecture with SwiftUI: Side Effects”