Mastodon Ios | My Portfolio

Ios

How to Write Unit Tests for Combine Publishers in Swift Testing
How to Write Unit Tests for Combine Publishers in Swift Testing

Unit testing Combine publishers can feel like you’re wrestling with a slippery eel: asynchronous, stateful, and a bit chaotic if not handled correctly. But fear not! Today, I’ll walk you through how to tame these tricky beasts using Swift Testing and its elegant testing features. Whether …

Using a NavigationStack with MVVM and SwiftUI
Using a NavigationStack with MVVM and SwiftUI

In the ever-evolving landscape of iOS development, SwiftUI has marked a revolution with its declarative syntax and promise of simplifying complex UI implementations. As developers, we constantly seek architectures that not only streamline development but also enhance maintainability and …

Find favicons used by any website
Find favicons used by any website

Some time ago, I was working on an iOS application that required me to fetch and display the favicon of a given URL.

Easy right? Well, not so much.

About 15 to 20 years ago, you’d be fine to set up a simple HTTP GET request at the server’s root with favicon.ico appended to it. So getting …