Guest Post: The Fix to stretched launch Images in SwiftUI

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 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.

Continue reading “Guest Post: The Fix to stretched launch Images in SwiftUI”

Writing a Networking Library with Combine, Codable and Swift 5

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”