Creating a Alamofire Response for a test
see an example below:
let result = Result<String, NSError>.Success("Hello")
result.isSuccess // prints true
result.value // prints "Hello"
Hope that helps
see an example below:
let result = Result<String, NSError>.Success("Hello")
result.isSuccess // prints true
result.value // prints "Hello"
Hope that helps