xcode 7.2.1 and playgrounds

App Development and Programming

Hello All,

I am having issues with Xcode playgrounds.

I created a playground, and specified mac os x for the target.

In the editor I typed in the line of code:

print("this is a test.")

Now, I did cmd+opt+return to bring up the assistant editor to review the output.

I then vo+right to the asst. editor, and it doesn't show my output.

I get one of two outputs:

1. it shows a copy of my code from the source code editor.
2. It is fully empty.

so, what am I doing wrong?

Am I supposed to hit a command to run the code so the output shows up in the assistant editor?

Any help would be greatly appreciated.