1
如何在swift中查找二维数组中的对象的索引?下面的代码给我的错误:Swift 2 - `indexOf` 2D数组
Cannot convert value of type '[String]' to expected argument type '@noescape ([String]) throws -> Bool'
let arrayToMatch = ["matched", "YES"]
var arrayOfArrays = [["aaa","bbb"], ["aaa","bbb"],["matched", "YES"],["matched","eee"],["ccc","ddd"]]
let findIndex = arrayOfArrays.indexOf(arrayToMatch) // 2 ??