From 90833dc290ad397161599f082384f6bd2d9d9d9e Mon Sep 17 00:00:00 2001 From: nRewik Date: Mon, 14 Dec 2015 21:14:47 +0700 Subject: [PATCH] Update new Playground API --- Rx.playground/Sources/SupportCode.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rx.playground/Sources/SupportCode.swift b/Rx.playground/Sources/SupportCode.swift index 0228d59e..56ef4dc0 100644 --- a/Rx.playground/Sources/SupportCode.swift +++ b/Rx.playground/Sources/SupportCode.swift @@ -25,7 +25,7 @@ public func playgroundShouldContinueIndefinitely() { import XCPlayground public func playgroundShouldContinueIndefinitely() { - XCPSetExecutionShouldContinueIndefinitely(true) + XCPlaygroundPage.currentPage.needsIndefiniteExecution = true } #endif