OT: Swift is now open source

Daniel N via Digitalmars-d digitalmars-d at puremagic.com
Sun Dec 6 03:34:51 PST 2015


On Sunday, 6 December 2015 at 10:43:24 UTC, Jacob Carlborg wrote:
>
> Not really what I needed, for me it would be enough with 
> slicing the bytes.
>

I can't really test it, since I'm stuck on "Mavericks" and they 
stopped updating XCode.
(last version before they destroyed the UI).

But this should work, no?
String(Array(str.characters)[1...2])

Guess now that it's open source I can finally play around with 
Swift2+ though.


More information about the Digitalmars-d mailing list