push element in array swift code example Example: how to insert element at start of the array ios swift someArray.insert(someValue, atIndex: 0)