luisobo / Nocilla

Testing HTTP requests has never been easier. Nocilla: Stunning HTTP stubbing for iOS and Mac OS X.
https://twitter.com/luisobo
MIT License
1.84k stars 172 forks source link

[WIP] Hook for NSURLSession #60

Closed luisobo closed 10 years ago

luisobo commented 10 years ago
swizzlr commented 10 years ago

I just bumped into this problem. What is it precisely that needs to be done to support NSURLSession?

luisobo commented 10 years ago

The remaining thing is to properly swizzle out -[NSURLSessionConfiguration protocolClasses] to always return [LSHTTPURLProtocol class] but is not working :(

El miércoles, 15 de enero de 2014, swizzlr escribió:

I just bumped into this problem. What is it precisely that needs to be done to support NSURLSession?

— Reply to this email directly or view it on GitHubhttps://github.com/luisobo/Nocilla/pull/60#issuecomment-32389122 .

swizzlr commented 10 years ago

ticks box, adds to podfile

luisobo commented 10 years ago

@swizzlr what do you want to add to the Podfile?

luisobo commented 10 years ago

I'll finish this tonight btw

swizzlr commented 10 years ago

Oh nothing, I just made my podfile point to this commit instead.

swizzlr commented 10 years ago

Totally warrants a patch release though.

luisobo commented 10 years ago

Yeah def. I'll take care of it tonight.

El viernes, 17 de enero de 2014, swizzlr notifications@github.com escribió:

Totally warrants a patch release though.

— Reply to this email directly or view it on GitHubhttps://github.com/luisobo/Nocilla/pull/60#issuecomment-32639078 .