From db62a3cf3f0e39c518aca73ac5a8093361887aa2 Mon Sep 17 00:00:00 2001 From: Ben Shewmake Date: Fri, 27 May 2016 17:57:09 -0600 Subject: [PATCH] Added changed '.subscribe' to '.subscribeNext' to alleviate error output in debug console. --- .../Contents.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rx.playground/Pages/Filtering_and_Conditional_Operators.xcplaygroundpage/Contents.swift b/Rx.playground/Pages/Filtering_and_Conditional_Operators.xcplaygroundpage/Contents.swift index 064b5028..a5c3ee52 100644 --- a/Rx.playground/Pages/Filtering_and_Conditional_Operators.xcplaygroundpage/Contents.swift +++ b/Rx.playground/Pages/Filtering_and_Conditional_Operators.xcplaygroundpage/Contents.swift @@ -75,7 +75,7 @@ example("single with conditions") { Observable.of("🐱", "🐰", "🐶", "🐸", "🐷", "🐵") .single { $0 == "🔵" } - .subscribe { print($0) } + .subscribeNext { print($0) } .addDisposableTo(disposeBag) } /*: