[["9", "6", "7", "8", "5"], ["1", "1", "1", "1", "1"]]
, нужно получить новый[[9, 6, 7, 8, 5], [1, 1, 1, 1, 1]]
let arr = [["9", "6", "7", "8", "5"], ["1", "1", "1", "1", "1"]]
let mapArr = arr.map{Int($0).map{Int($0)}}
let arr = [[1,2,3],[4,5,6]]
let mapArr = arr.map{$0.map{$0 * 2}}
mapArr // [[2, 4, 6], [8, 10, 12]]
let arr = [["9", "6", "7", "8", "5"], ["1", "1", "1", "1", "1"]]
let mapArr = arr.flatMap { $0.flatMap { Int($0) } }