BLACK FRIDAY: Save 50% on all my Swift books and bundles! >>

DAY 49

Project 10, part 1


You’ve had a couple of days away from following projects, and I hope you used them to review what you’ve learned, write your own code for a while, and reflect on what was said in yesterday’s videos.

As the late, great Zig Ziglar said, “there are two sure ways to fail: think and never do, or do and never think.” Well, today is very much back to being a “do” day: we have a new project to build, which in turns means some new techniques to learn.

In particular, we’re going to take our first steps into networking, so you can see how Swift makes it easy to fetch data from the internet to use in our app. When combined with Codable to handle JSON, this means we can read data from a server directly from SwiftUI – it works really smoothly, as you'll see.

Today you have four topics to work through, in which you’ll learn about URLSession, the disabled() modifier, and more.

How can this day be improved?

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!

Now 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!

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 49 of the #100DaysOfSwiftUI at https://www.hackingwithswift.com/swiftui/49 via @twostraws

Need help? Tweet me @twostraws!

 

Save 50% in my WWDC sale.

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.

Save 50% on all our books and bundles!

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.