Skip to content

Instantly share code, notes, and snippets.

import Foundation
import XCPlayground
XCPlaygroundPage.currentPage.needsIndefiniteExecution = true
class UnownedTester {
private static let testQueue = dispatch_queue_create("playground.unowned.tester", DISPATCH_QUEUE_SERIAL)
private static var instance: UnownedTester? = UnownedTester()