How to print to console using swift playground?
问题 I have been following the Apple Guide for their new language swift, but I don\'t understand why the bar on the right is only showing \"Hello, playground\" and not \"Hello, world\". Can someone explain why the println isn\'t being printed on the right? // Playground - noun: a place where people can play import Cocoa var str = \"Hello, playground\" println(\"Hello, world\"); 回答1: In Xcode 6.3 and later (including Xcode 7 and 8), console output appears in the Debug area at the bottom of the