NEW: Learn to build amazing SwiftUI apps for macOS with my new book! >>

DAY 43

Project 9, part 1


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.

Need help? Tweet me @twostraws!

 

Hacking with Swift is sponsored by Fernando Olivares

SPONSORED Fernando's book will guide you in fixing bugs in three real, open-source, downloadable apps from the App Store. Learn applied programming fundamentals by refactoring real code from published apps. Hacking with Swift readers get a $10 discount!

Read the book

Sponsor Hacking with Swift and reach the world's largest Swift community!

100 Days of SwiftUI


The 100 Days of SwiftUI is a free collection of videos, tutorials, tests, and more to help you learn SwiftUI faster. Click here to learn more, or watch the video below.

Back to 100 Days of SwiftUI

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.