On 19 Feb 2016, at 21:18, Jens Alfke <[email protected]> wrote:

> which makes me wonder why NSURLSessionConfiguration has a 
> URLCredentialStorage property, since there’s no way to create another object 
> to point that property at. Same goes for the HTTPCookieStorage property.

Three points:

* Historically, all of these objects were just plain Objective-C objects so it 
was reasonable to create your own subclasses.  That has become problematic 
since the core code was moved to CFNetwork, where you have to deal with the 
interaction between Cocoa and CF code.

* NSURLSessionConfiguration lets you set them to nil.

* On the latest OS release it /is/ possible to create a cookie store elsewhere 
via +[NSHTTPCookieStorage sharedCookieStorageForGroupContainerIdentifier:].

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to