i am having data at indexpath at section.
when i try to retrive data it is working on simulator.
but when i test on device it gives error
"Ambiguous Use of Subscript in Swift"
here is my code
let newProductDic = arr[indexPath.section][indexPath.row]
let newObject = arr[indexPath.section] as? [AnyObject] and then use your code as let newProductDic = newObject[indexPath.row]