RxSwift/Playgrounds/Introduction.playground/Sources/SupportCode.swift

6 lines
125 B
Swift

public func example(description: String, action: () -> ()) {
println("\n--- \(description) example ---")
action()
}