Create a gist now

Instantly share code, notes, and snippets.

@ijansch /Playground.swift Secret
Last active Mar 16, 2017

What would you like to do?
//
// Playground.swift
// rx-deepdive
//
// Created by Robert van Loghem on 15/03/2017.
// Copyright © 2017 Drummingwithneedles. All rights reserved.
//
import Foundation
import RxSwift
class Playground {
private let disposeBag = DisposeBag()
func go() {
Observable
.just("Hello", "deepdive")
.subscribe(onNext: { next in
print(next)
})
.disposed(by: disposeBag)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment