Array in Swift – How to write an array in swift ?

By | July 16, 2016

Array in Swift – How to write an array in swift ?

Write the elements of an array in brackets [] and that’s all and you can add elements by array index.

and to add an element to an array