Converting a playground to a workspace

If you want to add a custom framework (external library of code) to your playground, you have to convert the playground to a workspace. This can be done using File | Save As Workspace....

Just pick a new name and save the file. Xcode will switch to advanced mode and you will see a lot of options available. We will discuss how to add third-party libraries to a workspace later in the book. But it's good to know that you can use playgrounds to test your framework without any problem.

So far, we know the basics of the playground. Now let's introduce the markup language and an easy way  to make your playgrounds outstanding.