Enums are a great way to define a finite choise of states. To make this easy, we create an EnumPicker which makes it simple an flexible to pick an enum.
writing code
Hello 👋🏻
My name is Magnus, and welcome to my universe on the internet 🔮.
I do a lot of programming in my studies, 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.
Enums are a great way to define a finite choise of states. To make this easy, we create an EnumPicker which makes it simple an flexible to pick an enum.
The SwiftUI documentation can be complicated, especially whens it lies. Here is the propper way to apply background to a List.
With bitboards we use a simple integer type to store information on a bit level