[swift-corelibs-dev] NSURLSession & libcurl

Daniel Eggert danieleggert at me.com
Thu Mar 17 14:33:40 CDT 2016


I’ve made good progress on this. I’ll try to get something that’s merge-able within the next week. It won’t be 100% complete by any means, but should hopefully (A) cover the most common use cases, and (B) be a solid basis for the remaining functionality.

/Daniel


> On 15 Mar 2016, at 15:12, Philippe Hausler <phausler at apple.com> wrote:
> 
> That seems pretty reasonable to me, I guess the only thing to watch out for is private vs internal.
> 
> Sent from my iPhone
> 
>> On Mar 15, 2016, at 2:44 AM, Daniel Eggert <danieleggert at me.com> wrote:
>> 
>> Is it ok for me to split the libcurl specific code inside Foundation into a separate file, say NSURLSession+curl.swift ? Or should I try to keep everything inside NSURLSession.swift ?
>> 
>> If I go for a separate file, I'd be able to differentiate between internal and private for the helpers. I'll end up close to 1000 lines of code for this. Having these inside NSURLSession.swift is a bit overwhelming.
>> 
>> /Daniel
>> 



More information about the swift-corelibs-dev mailing list