[swift-evolution] Shortcut for creating arrays
to.arsen.gasparyan at gmail.com
Fri Apr 8 08:20:19 CDT 2016
Very often we need to create an array strings. It's a routine task and I
really like shortcut in Ruby that shortcut makes everyday coding a little
bit easier and fun:
words = %w[rats live on no evil star]
What do you think about adding something like this in Swift?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution