We’re starting a new project today, and we’re going to add some more SwiftUI skills to your collection while also tackling a fascinating area of programming: machine learning.
Nick Bostrom, a Swedish professor teaching at Oxford University, once said “machine intelligence is the last invention that humanity will ever need to make.” Is that true? Well, it’s certainly true that if we can teach computers to think competently enough it would remove the need for humans to do that thinking, but on the other hand some might argue most of humanity doesn’t do much thinking in the first place.
Still, I think you’ll be impressed by how easy it is to get started, and how it’s a really natural fit inside SwiftUI.
As a side note, I want to add that by now you’re starting to settling into the frequency of this course: some studying, some app building, a technique project, then consolidation – all repeated several times over.
However, I want to say that if at any point you’re feeling tired, or if life just gets in the way, take a break! If you come back to your code in a day or two, you’ll be more relaxed and ready to learn. Like I said at the beginning, this is a marathon not a sprint, and you won’t learn effectively if you’re stressed.
Today you have five topics to work through, and you’ll meet Stepper
, DatePicker
, DateFormatter
, and more.
Once you’ve made it through those topics, make sure and post your progress somewhere online – you’ve taken the first steps towards understanding machine learning!
Great job on finishing another day! If you still have questions about what you learned, please send them in using this form – I'll do my best to address the most common problems in the next course update. Thank you!
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!
Alternatively, copy and paste the text below to your preferred social network - I'm @twostraws on Mastodon.social, Bluesky, and Threads.
🎉 I just finished Day 26 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/swiftui/26 via @twostraws
Need help? Tweet me @twostraws!
SAVE 50% All our books and bundles are half price for Black Friday, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.
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.
Link copied to your pasteboard.