RxSwift/RxDataSourceStarterKit/RxDataSourceStarterKit.swift

22 lines
390 B
Swift

//
// RxDataSourceStarterKit.swift
// RxExample
//
// Created by Krunoslav Zaher on 8/29/15.
// Copyright © 2015 Krunoslav Zaher. All rights reserved.
//
import Foundation
#if !RX_NO_MODULE
func bindingErrorToInterface(error: ErrorType) {
let error = "Binding error to UI: \(error)"
#if DEBUG
fatalError(error)
#else
print(error)
#endif
}
#endif