I have array [[one, two, three, four]] and I want to convert array in [["one", "two"," three", "four"]] without using a loop in Swift 3.
I tried
let myArray = array.map { String($0) }
But this is returning ["[one, two, three, four]"].
I have array [[one, two, three, four]] and I want to convert array in [["one", "two"," three", "four"]] without using a loop in Swift 3.
I tried
let myArray = array.map { String($0) }
But this is returning ["[one, two, three, four]"].