There are four code snippets given in the lesson. I'm assuming that the first two code snippets will be new files underneath the SwansQuest package (is package the right word?), with their file titles being Graphic.swift, and AccessibilityHints.swift? I'm also assuming these are incomplete, and will need to be fleshed out?
Also, do the last two code snippets - I know these need to be completed for each torch - just go under the "Navigating the Dark" page?
Once again, I do feel a bit foolish for asking, but for someone trying to learn from nothing, this was rather tough. Thanks to anyone who wants to help a beginner learn ;)
The absolute best place to start, in my mind, is with the free Everyone Can Code Puzzles book from Apple: https://books.apple.com/us/book/everyone-can-code-puzzles/id1481279769
I ran an online course for the last little while that I can't link in the forums, but it's up on YouTube as The Code Hub Everyone Can Code Puzzles. I walked through the material (it was aimed at kids ages 8-18 in Ireland, but a lot of their parents and folks outside Ireland followed along, too) in the book and in Swift Playgrounds. We just did a session on Swan's Quest, Chapter 1, and the background of Everyone Can Code Puzzles certainly helped them.
You don't need to edit any code in the shared code files (like Graphic.swift and all), just in the main swift file that you see when you navigate to the page. Like you mentioned, you just need to set the accessibilityLabel property on each of those torches to turn them all on.
I hope this helps!