how to append contentsOf first of array in swift code example Example: add to beginning of array swift //Swift 4 someArray.insert(someValue, at: 0)