how to inset string in array 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)
someArray.insert(someValue, atIndex: 0)
//Swift 4
someArray.insert(someValue, at: 0)