DEV Community

loading...

100 Days of SwiftUI — Day 20

Nathan Mattes
By day, I'm an iOS developer. By night, I'm a human being/programmer/blogger/podcaster. ¯\_(ツ)_/¯, (-‸ლ) (╯°□°)╯︵ ┻━┻
Originally published at zeitschlag.net on ・1 min read

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)