UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

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!

Share your progress!

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!

 

Hacking with Swift is sponsored by RevenueCat

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Learn more here

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.