FREE TRIAL: Accelerate your app development career with Hacking with Swift+! >>

DAY 23

Project 3, part 1

Walt Disney once said, “there is no magic in magic, it’s all in the details.” The same is very much true of SwiftUI: it’s easy to look at it and think there’s all sorts of magic happening to make it work so efficiently, when really if you look behind the curtain you’ll start to see exactly how it works – and in doing so gain a better understanding of how to use it.

Today is our first technique project, and we’re focusing on two fundamental components of SwiftUI: views and modifiers. We’ve been using these already, but we’ve kind of glossed over exactly how they work. Well, that ends today: we’ll be going through lots of details about what they are, how they work, and why they work that as they do.

If everything goes to plan, the end result will be lots less magic and lots more detail – you’ll still enjoy using SwiftUI, but you’ll know exactly what makes it tick.

Today you have 11 topics to work through, in which you’ll learn to build custom view modifiers, custom containers, and more.

Need help? Tweet me @twostraws!


Hacking with Swift is sponsored by Essential Developer

SPONSORED Join a FREE crash course for iOS devs who want to become complete senior developers — from October 18th to 24th. Learn how to apply iOS app architecture patterns through a series of lectures and practical coding sessions.

Learn more

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.