[swift-evolution] Shortcut for creating arrays

Vladimir.S svabox at gmail.com
Fri Apr 8 09:57:49 CDT 2016


On 08.04.2016 17:05, Ross O'Brien via swift-evolution wrote:
> Well, you can do this already:
> let words = "rats live on no evil star".componentsSeparatedByString(" ")
> so I don't know how much a shortcut is needed.

Also thought about componentsSeparatedByString, clearly says what we have, 
what we do and what will have in result.
So I'm -1 for special command for such word array.


More information about the swift-evolution mailing list