Robin

Results 27 comments of Robin
trafficstars

That works too! Have the init with `sessionConfiguration` generate a `URLSession` in the init. Would you like me to add that to the PR?

One problem now 😕, since both declarations look identical to the compiler, ![](https://i.imgur.com/boTCdXD.png) the empty initializer confuses the compiler 😞 ![](https://i.imgur.com/wU5RgqF.png) Any way you can think of to get around...

@vadymmarkov I just tried running those tests locally. The test that failed on CI (`NetworkingSpec.Networking___urlSession_didReceiveChallenge_completionHandler___with_NSURLAuthenticationMethodServerTrust__without_baseUrl__passess_valid_parameters_to_completion()` passed over here :/ Could you try running it locally on your computer to see...

Wait a second, I noticed the tests are running on Xcode 9.4. Could that be a cause?

Got a branch with an Xcode 10.1 image in the `.travis.yml`: https://github.com/codeOfRobin/Malibu/tree/travis-new-image

Hi 👋 @vadymmarkov gentle nudge, was hoping you could take a look at this 😬

I have a few (late night thoughts) on how this could be fixed. We could replace the `MockProvider` in the init with an enum: ``` enum ResponseOverride { case mockProvider(MockProvider)...

Made a simple change that solves this problem for now: #115

Another advantage to this approach is, you can compose Request Behaviours, making Malibu incredibly explicit! ``` struct CombinedRequestBehavior: RequestBehavior { let behaviors: [RequestBehavior] func adapt(_ request: URLRequest) -> URLRequest {...