You can right-click on your playground book file (in finder), and press show package contents, to view the inside of your playground book, which contains all of your files. There, you have to navigate to the code file that you want to edit.
Topic:
Developer Tools & Services
SubTopic:
Swift Playground
Tags: