Playgrounds for Objective-C

Tarek picture Tarek · Sep 29, 2014 · Viewed 21.4k times · Source

Is it at all possible to have Xcode create a .playground file for Objective-C instead of Swift? Are there any available Xcode plugins that allow that?

Answer

slcott picture slcott · Mar 1, 2015

You can quickly test code snippets using a test case in a new project. Just create a new project and go to the Navigator in the left pane and hit the Test Navigator button. Then follow this guide

enter image description here

The setup code will look a little different than a swift playground, but it still allows you to prototype and play around.

enter image description here