how to append in array at first index in swift code example
Example 1: how to insert element at start of the array ios swift
someArray.insert(someValue, atIndex: 0)
Example 2: add to beginning of array swift
//Swift 4
someArray.insert(someValue, at: 0)