Swift Changes Array Type Syntax
Swift has improved the syntax for its Array type.
I keep forgetting to mention that Apple has fixed one of the issues I
had with Swift. In Beta 3, the syntax for Array at the type level has
changed from String[]
to [String]
, which corresponds better to the
value-level syntax for Arrays. Credit to
ThriftySwift.
Edit: I should also link to Apple's blog post announcing the changes.