You can use playgrounds to test your own code and try out experiments, but that’s just the beginning. Instead of experimenting by changing code and rerunning your playground, you can set it up so that you (or others) can enter data and then have the playground code act on the data.
To do that, you need to be able to control what is shown in the playground’s timeline and current view as it executes, and that’s what this chapter shows you how to do. You’ll see how to view a playground’s timeline and current view in Xcode as well as Playgrounds (the app on iPad). ...