This was the most recent SwiftUI experiment. Nothing fancy just trying to understand how to work with shadows. I’ve done similar effects using CSS if you remember here on the blog.
You are by now probably aware of Calmaria.app. I know I keep posting about it and there are a couple of reasons for that. One, breathing exercises are something I’ve been doing a lot and have really helped me deal with anxiety and stress. Two, because it also gets me excited about learning new things, from building an Android app using Kotlin, to learning SwiftUI and launching the iOS version, including an Apple Watch one.
With those things in mind and with the goal to share as much as I can about my learnings, today I will share the base source code I created for the iOS app using SwiftUI. Big disclaimer, it was the first app I’ve ever written using SwiftUI, plus, add on top of that I am a designer not a developer. I actually suck at coding, you will see a lot of redundancies.
As usual, you can find the code on GitHub and this particular one is from Playgrounds, so just paste that code in Playgrounds and you should be good to go.