The only constant is change, as the saying goes.
Lesson 9 of Module 4 deals with the Picker
– what I previously knew as <SELECT> ... </SELECT>
in good old HTML. I swear these things would be easier to learn if they didn’t change the names willy-nilly.
Following the tutorial video today, it became clear that it’s impossible to know everything. In the video, Chris from CodeWithChris demonstrates how the Picker works…
Picker<Label, SelectionValue, Content>
In the video, the Label
is shown to be a … well, a label. But in reality, in Xcode the Label
does absolutely nothing. I had to fudge an additional Text
element to complete the challenge.
I guess Apple changed Xcode/Swift since the video was made – the video isn’t exactly what you’d call “old”. This makes you realise that what you learn today may not be of much use tomorrow. That’s why what you learn isn’t anywhere near as important and how you learn.
What you learn will always change when the PowersThatBe decided to change the language and depreciate things. But the skill of how you learn will be what allows you to replace that depreciated knowledge with the current flavour-of-the-month.