Re: [swift-corelibs-dev] Bring NSString functions to String

2017-05-11 Thread Andrey Fidrya via swift-corelibs-dev
> On 12 May 2017, at 00:05, Tony Parker wrote: > >> On May 10, 2017, at 4:19 AM, Andrey Fidrya via swift-corelibs-dev >> mailto:swift-corelibs-dev@swift.org>> wrote: >> >> Hi All, >> >> Btw, when migrating from NSString's methods to URL I&

Re: [swift-corelibs-dev] Bring NSString functions to String

2017-05-10 Thread Andrey Fidrya via swift-corelibs-dev
Hi All, Btw, when migrating from NSString's methods to URL I've noticed that they work a bit differently: URL's methods convert strings from NFC to NFD (decomposed) unicode form which is demonstrated by the example below. I had to additionally call .precomposedStringWithCanonicalMapping on result

Re: [swift-corelibs-dev] Compiling corelibs-libdispatch

2016-08-07 Thread Andrey Fidrya via swift-corelibs-dev
I was able to build it with 2016-08-04-a snapshot. Regards, Andrey > On 07 Aug 2016, at 13:43, Andrey Fidrya wrote: > > Hi, > > I'm trying to compile swift-3.0-branch of swift-corelibs-libdispatch on > Ubuntu 14, > but swiftc crashes. Which Swift version should i use? > > I'm using 2016-07-2

[swift-corelibs-dev] Compiling corelibs-libdispatch

2016-08-07 Thread Andrey Fidrya via swift-corelibs-dev
Hi, I'm trying to compile swift-3.0-branch of swift-corelibs-libdispatch on Ubuntu 14, but swiftc crashes. Which Swift version should i use? I'm using 2016-07-25 binary snapshot. $ swift --version Swift version 3.0-dev (LLVM 440a472499, Clang e10506ae1c, Swift 395e967875) Target: x86_64-unknown