|
From: | Tony Parker |
Subject: | Re: [swift-corelibs-dev] [swift-evolution] Proposal: Swift Open Source Project and Foundation replacements |
Date: | Thu, 03 Dec 2015 14:33:04 -0800 |
Hi Jacob,
I think NSURL is actually a pretty great example of an API that we want to be the same on all platforms. There is quite a bit of logic backing it (along with something like NSURLComponents). Check out some of it here: (and that CF code is reflected up into NSURLComponents) It’s tricky stuff, and the goal is to get it as standards compliant as possible. If we use this implementation for all Swift clients then we can get a consistent answer everywhere - and even better, fix bugs everywhere at the same time. So if you find some of the interface confusing (or wrong), then file a bug for us at bugs.swift.org. We can take this opportunity to try to make it better for everyone. Thanks, - Tony |
[Prev in Thread] | Current Thread | [Next in Thread] |