SALE ENDS TODAY: Save 50% on all Swift books and bundles! >>

DAY 71

Project 14, part 4


It’s taken a while to get to this point, but today you’re going to put in place some app features using remarkably little code. More specifically, you’ll see how to handle binding to optional values in our MapKit annotation, how to show different UI based on an enum’s value, how to add custom Comparable conformance to some data we fetched from a network request, and more – it really takes our app up a notch.

Chances are you’re really starting to feel our difficulty curve now, because our projects are growing and size and complexity. I want to take this opportunity to remind you of a few things:

  1. You’re not alone; everyone is having to go through this same learning curve.
  2. It’s a marathon, not a sprint; take your time and it will come.
  3. It’s OK to take a break and come at a topic again later; having fresh eyes will help
  4. There is no learning without struggle; if you’re fighting to learn something, it will stick way better at the end.

There’s a quote widely attributed to Confucius that you would do well to remember: “it doesn’t matter how slowly you go, as long as you don’t stop.”

Today you have three topics to work through, in which you’ll make network calls, add Comparable conformance, and more.

Need help? Tweet me @twostraws!

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