Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using Mock Library Without ReactiveSwift Wrapper
// Simple Use of Asynchronous Library Function
mockAsyncFunction { (optionalReturnedString, optionalReturnedError) in
if let returnedString = optionalReturnedString {
} else if let returnedError = optionalReturnedError {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment