iGodric iGodric - 11 months ago 101
Swift Question

For what is the new keyword?

I read the

The Swift Programming Language
In the keywords section they listed
. But in the section
Summary of the Grammar
I didn't found it.

For what is
used in Swift?


It seems to have been removed.

I tried let x = new Double[2] but in Xcode 7 it now throws an error

Playground execution failed: OSX.playground:1:9: error: use of unresolved identifier 'new' let a = new [Double]