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
NavigationView 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
NavigationView 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 learning throughout your whole career. As American industrialist Henry Ford said, “anyone who stops learning is old, whether at twenty or eighty; anyone who keeps learning stays young.”
So, keep learning and be proud to say you’re still learning – it’s an important skill to have!
Today you have three topics to work through, in which you’ll learn about build our primary and secondary views, show them side by side in a
NavigationView, learn an improved way to format lists, and more.
Need help? Tweet me @twostraws!
SPONSORED Would you describe yourself as knowledgeable, but struggling when you have to come up with your own code? Fernando Olivares has a new book containing iOS rules you can immediately apply to your coding habits to see dramatic improvements, while also teaching applied programming fundamentals seen in refactored code from published apps.
Link copied to your pasteboard.