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

DAY 97

Project 19, part 2


Today we’re going to implement the first half of our program, which means we’ll get a list of ski resorts, a detail view to show more information, and a NavigationSplitView that can show them side by side. That by itself shouldn’t present a problem for you, but along the way you’ll also learn about loading static example data from the bundle, controlling how NavigationSplitView should show primary and secondary views on iPhone, and even how to format lists of strings more neatly.

Although you already know so much of what is needed to make this code work, we’re still here on day 97 introducing new things to learn. I hope you’re not discouraged by that – learning is an important skill, and in programming as well as many other industries you can find yourself constantly trying new things throughout your whole career. That might feel hard at times, but as the Spanish painter Pablo Picasso once said, “I am always doing that which I cannot do, in order that I may learn how to do it.”

So, keep learning and be proud to say you’re still learning – it’s an important skill to have!

Today you have four topics to work through, in which you’ll learn about build our primary and secondary views, show them side by side in a NavigationSplitView, learn an improved way to format lists, and more.

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!

 

TAKE YOUR SKILLS TO THE NEXT LEVEL If you like Hacking with Swift, you'll love Hacking with Swift+ – it's my premium service where you can learn advanced Swift and SwiftUI, functional programming, algorithms, and more. Plus it comes with stacks of benefits, including monthly live streams, downloadable projects, a 20% discount on all books, and free gifts!

Find out more

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.