how to append new item to first index of array 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)