Today kicks off another new technique project where we’ll be focusing on drawing. This is an area of SwiftUI you might think you won’t need much, but nothing could be further from the truth: SwiftUI makes high-performance drawing so easy, so accessible to everyone, that you’ll find places you can use your skills in almost every app you build.
Another thing that drawing is good for – and this will become more apparent in parts two and three of this project – is help create a sense of playfulness. As you work your way through these next few days you’ll find you can create beautiful designs in only a handful of lines of code, and I lost countless hours while preparing my examples just playing around and having fun.
Don’t take my word for it – renowned Dutch impressionist Vincent Van Gogh said, “I sometimes think there is nothing so delightful as drawing.”
I think he was on to something!
Anyway, I hope you’re able to approach these next few days with an open mind. Maybe you want to follow along with the coding (I hope you do!), or maybe you just want to sit back and see what’s possible – either way, I think you’ll be impressed by how smart SwiftUI’s drawing is!
Today you have four topics to work through, in which you’ll learn about paths, shapes, insettable shapes, and more.
If you use Twitter, the button below will prepare a tweet saying you completed today, along with a celebratory graphic, the URL to this page, and the challenge hashtag. Don't worry – it won't be sent until you confirm on Twitter!
Need help? Tweet me @twostraws!
SPONSORED In-app subscriptions are a pain to implement, hard to test, and full of edge cases. RevenueCat makes it straightforward and reliable so you can get back to building your app. Oh, and it's free if your app makes less than $10k/mo.
Link copied to your pasteboard.