[swift-corelibs-dev] NSURLSession & libcurl

Philippe Hausler phausler at apple.com
Tue Mar 15 09:12:59 CDT 2016


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