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

DAY 28

Project 4, part 3

This project was a chance for you to practice some fundamentals of SwiftUI, learn some new UI controls with DatePicker and Stepper, see for yourself how Swift makes it easy to handle dates, and – just for fun – dip your toe into the world of machine learning.

All these things work independently of each other, by which I mean you can now use Stepper, or DateComponents, or Create ML all by themselves, in other projects – the stuff you’ve learned can be taken anywhere you want. As you progress with SwiftUI you’ll add more and more of these jigsaw pieces, and in doing so you’ll find you soon have hundreds of pieces that you can rearrange and build together to make remarkable things.

One of my favorite Steve Jobs quotes is this:

“Creativity is just connecting things. When you ask creative people how they did something, they feel a little guilty because they didn't really do it, they just saw something. It seemed obvious to them after a while. That's because they were able to connect experiences they've had and synthesize new things.”

That’s where I want you to reach with SwiftUI – to know that when you have a new project idea you can reach for part of project 1, part of project 3, part of project 4, and beyond, and already be 75% towards your goal. You’ll get there – just keep coming back each day!

Today you should work through the wrap up chapter for project 4, complete its review, then work through all three of its challenges.

Good job!

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.