Introduction of the UnwrappingButton, and how it can help us to ensure the validity of data in SwiftUI.
writing code
Hello 👋🏻
My name is Magnus, and welcome to my universe on the internet 🔮.
I do a lot of programming at my work and in my spare time. Whenever I wanna tell a story about something programming-wise, perhaps a guide, a lesson, or an explanation of a concept, I will post it here. I try only to post meaningful things, so this is not the most active page at the moment, but you can expect work to be in the universe of Swift. Along with posts, I also present my noteworthy projects and special pages.
Thanks for checking in! There is also a RSS-feed if you wanna be noticed of new posts.
Introduction of the UnwrappingButton, and how it can help us to ensure the validity of data in SwiftUI.
We build an Observer-pattern-like implementation for SwiftUI with actions passed into the environment.
We dive into the Environment in SwiftUI and see how we can use it to pass down actions, and simplify the use of our views.