In an attempt to learn Swift, I am trying the ‘Get Started with Code’ tutorial in Swift Playground.
The 1st panel ‘Issuing Commands’ share the 2 commands ‘moveForward() & collectGem() commands. All is good.
The 2nd panel ‘Toggling a Switch’ introduces toggleSwitch(). But to accomplish that lesson, the user must already know the command turnLeft(). Is this an error on Apple’s part? Should the very, very beginner be purposely thwarted by not knowing this command when starting?
The command "turnLeft()" comes up in the presets of commands for me. "TurnRight()" is missing for me. Weird that it introduces neither the previous lesson.
I remember from when I did it about a year ago, it turned out to be a brain teaser.
There is a very jank looking, counter intuitive solution with one turn function, which allows you to navigate the space. If you are still stuck, or having issues, reply to the post.
I think the puzzle is that you're missing one. If that's the case, they should've been explicit about it.