-
AMEURLSessionURLLoader always recreates NSURLSession instance on every `currentSession` or `currentBackgroundSessionWithCompletionHandler:` calls.
Also it does not call `invalidateAndCancel` or `reset…
-
[connection session](http://z-yida.github.io/2016/02/23/NSURLConnection+NSURLSession/)
-
AFNetworking is not supported by MobileIron :(
NSUrlSession is faster.
-
![2018-05-30 11 34 12](https://user-images.githubusercontent.com/11731944/40697581-8ac64c30-63fd-11e8-99e8-6e73df277c76.png)
![2018-05-30 11 34 23](https://user-images.githubusercontent.com/1173194…
-
This still uses NSURLConnection, but turns off the deprecation warnings for it using `#pragma`. Would be a much better idea to upgrade to using NSURLSession instead.
-
There seems to be a memory leak with NSURLSession. I was playing with Instruments and saw that NSURLSession tends to leak when you do stuff like rotating the screen and swapping between Master/Detail …
Eddpt updated
10 years ago
-
Please replace NSURLConnection with NSURLSession.
The NSURLConnection class is DEPRECATED.
The NSURLConnection class should no longer be used. NSURLSession is the replacement for NSURLConnection.…
-
![image](https://user-images.githubusercontent.com/4757625/43437255-abd2909e-94ba-11e8-8119-d2a064a59a01.png)
如图。在iOS11.4下面稳定复现。我测试了一下,和下图中的这个逻辑有关系
![image](https://user-images.githubusercontent.c…
-
This seems like it's going to get real hairy real quick (and I know nothing about this stuff) but it's definitely something we should look into.
I'm thinking that we could maybe provide an NSURL sess…
-
Creating a dispatch source for a socket file descriptor, removing it, and re-adding it shortly after results in a reuse of the underlying `dispatch_muxnote_t` which was created with the first dispatch…