I'm wondering if NSTask is not available in playgrounds. This does not compile
import Foundation
let task = NSTask()
Does anyone know if that's not (yet) possible or am I missing something?
Update It's possible to create iOS or OS X playgrounds. One can also change the chosen platform after the initial creation of the playground: Xcode > View > Utilities > Show File Inspector (cmd+opt+1) -> There is a drop down menu for the platform.