Many Cocoa and CocoaTouch methods have completion callbacks implemented as blocks in Objective-C and Closures in Swift. However, when trying these out in Playground, the co
This API changed again in Xcode 8 and it was moved to the PlaygroundSupport:
PlaygroundSupport
import PlaygroundSupport PlaygroundPage.current.needsIndefiniteExecution = true
This change was mentioned in Session 213 at WWDC 2016.