Swift Changes Array Type Syntax
July 19, 2014
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.