Different output showing on Xcode's Playground

179 Views Asked by At

I can get the console output if I "Show Assistant Editor", but I don't want it there the whole time, just want it when I'm checking values. I've seen in videos that people can click the little (+) circle to see the resultsenter image description here, but when I click it this appearsenter image description here I was wondering how I'd be able to get something that looks like this when I press the (+) ? enter image description here

Using: Xcode 6.4

2

There are 2 best solutions below

0
On

Just go to: View ➤ Assistant Editor ➤ Show Assistant Editor in XCode menu or simply press (⌥⌘⏎)

0
On

I see this since Xcode 6.4, I think you need to println everything :( for UI use XCPShowView function from XCPlayground library. So first you need to import XCPlayground, then: XCPShowView("your title", yourUIViewObject)