DEV Community

Nathan Mattes
Nathan Mattes

Posted on • Originally published at zeitschlag.net on <time datetime="2020-06-10T20:38:28Z" class="date">Jun 10, 2020</time>

100 Days of SwiftUI — Day 20

I just finished Day 20 — and it unexpectedly totally brightened my day! Today was the introduction day for the second project. Paul talked about the different stack types in SwiftUI, button, alert — and colors and gradients. And suddenly, I couldn't resist anymore, I had to play with them! So I — more or less — proudly present the result:

Simulator-Screen-Shot---iPhone-SE--2nd-generation----2020-06-10-at-22.32.44

Creating this view using the built-in Canvas felt like magic, like painting — thankfully, I'm neither an artist, nor a magician, nor a UI designer. I'd propably suck. But seriously, it was sooooo much fun! And changing things is so fast, it's amazing.

What still feels a bit unusual is that I have to put Text("string") like everywhere instead of just a "string", although it makes sense.

Discussion (0)