[swift-corelibs-dev] Migrate corelibs-foundation to the newest APIs
anthony.parker at apple.com
Tue Apr 12 11:57:38 CDT 2016
This is something we really do need some help with. Our goal is to have the Linux version match the Darwin version exactly.
There is also a PR up to change some of the results of the automatic renaming by the importer, here:
So we should take those into account as well.
> On Apr 12, 2016, at 9:45 AM, Robert F Dickerson via swift-corelibs-dev <swift-corelibs-dev at swift.org> wrote:
> As you know, currently, as of the 03-24 DEVELOPMENT snapshot, the function signatures for Foundation has diverged. This has caused us to create platform specific calls to the NSString, NSDate, NSCache, etc. classes. For instance,
> #if os(Linux) <ecblank.gif>
> <ecblank.gif> let lastSlash = fileName.rangeOfString("/", options: NSStringCompareOptions.BackwardsSearch)
> <ecblank.gif> #else
> <ecblank.gif> let lastSlash = fileName.range(of: "/", options: NSStringCompareOptions.backwardsSearch)
> <ecblank.gif> #endif
> I was curious about the timeline for the migration to the newer APIs and whether someone in particular was working on it. We have some developers here at IBM at Swift that could do some of this work, but want to make sure we aren't duplicating work and are coordinated.
> swift-corelibs-dev mailing list
> swift-corelibs-dev at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-corelibs-dev