Reputation: 3247
I'm building an iOS with swift. It appears the project template does not have a playground file. I go to File >> New >> Playground >> name my file >> place the playground file inside of my project directory. I look for it in the side bar directory but it is not there. I then go to Finder and navigate to the project and I can see the file.
Should it be showing up on the project directory?
Upvotes: 2
Views: 10325
Reputation: 11
With the new Xcode that's out, its much easier. File --> New --> playground the dropdown from file leads you to New, that leads you to choose playground, after choose whatever one you are looking to play in. Good Luck!
Upvotes: 1
Reputation: 1159
I am late to answer but it might be helpful for someone else looking around, Its much simple, just open xCode go to File > Open > choose the directory where you last time created the playground project and finally choose fileName.playground (file with .playgorund extension) and boom it will be your last saved playground project.
Upvotes: 4