Image aspectRatio without frames December 13, 2022
Today I spent a couple of hours understanding how SwiftUI aspectRatio modifiers works and how it interacts with Image. It's a surprisingly simple system, but also one that made me...
A world of coding 💻, by Alejandro Martinez
Today I spent a couple of hours understanding how SwiftUI aspectRatio modifiers works and how it interacts with Image. It's a surprisingly simple system, but also one that made me...
The safe area is one of the most relevant changes in the UI paradigm of iOS in the recent years. Let's learn how to implement a footer with CTA that respects the safe areas but with a background that extends to the edge.
Today I want to share a weekend experiment where I built the classic Matrix effect in SwiftUI. It all started after seeing this tweet of the effect implemented in Compose....
We're just in the week of WWDC and it's clear that Swift's Concurrency it's the biggest topic that will change how we develop. I've been following its evolution for months...
SwiftUI's layout system is very nice to get started with. Combining stacks and modifiers you can get very far very quickly, but at some point you will need to pass...
When Apple released its own SwiftUI tutorial I decided to give it a try. This was not a simple tutorial introducing the basics of SwiftUI, but a more overarching training...
In this post I want to show you a little behind the curtain. As you may have noticed if you follow me on Twitter, recently the tweets with links to...
One of the major benefits of SwiftUI is its amazing DSL. A feature that not only makes it nice to read but also makes it possible to use the type...
SwiftUI is an amazing tool to create all sorts of views in our applications. But many times we want that ease of use to generate graphics that can be used...
The introduction of SwiftUI and previews changed completely my process of developing applications. Having such an easy way of quickly prototyping UI ideas affected the rest of my process. But...
A couple of weekends ago I was reading my Twitter timeline and I, don't know how, ended up in this old tweet."This isn't a Louie Mantia color."(That means it isn't...
PointFree has released a library with their Composable Architecture and I've been showing it a little bit on livestreams and videos. This page wants to serve as an index and...
One of the common things we want to display with SwiftUI are lists of our models. The basics of it are pretty easy, you just need to use a ForEach...
SwiftUI has some presentation modifiers to display alerts, sheets and full screen views. On one hand, presenting an alert is nice and easy, it feels really well designed. But on...
In my previous post about SwiftUI buttons I described a technique to reuse button configuration with a ViewModifier. Now that beta 2 is out, we finally have the proper tools...
Yesterday I shared with you a post where I was trying to understand SwiftUI's layout system in order to implement equally spaced distribution for views inside stacks.I was able to...
One of the things that I still don't fully understand about SwiftUI is how to customise the layout of views.HStack and VStack are fine for the majority of cases, but...
The abstractions on SwiftUI are so composable that customising the UI it's basically an intrinsic property of the framework. Let's take a quick look at some things you can do...
WWDC'19 has been great and I'm obviously hyper excited about SwiftUI but if there is one thing that I like more than watching a great announcement is watching great video...
WWDC '19 is over, and what a week! Let me start by saying that this is probably the best WWDC ever. We have seen the announcement of game changing technologies...