UIACollectionView cells vs visibleCells
问题 I'm trying to write a test script using automation in xcode 4.5. I have a UICollectionView and I want to click on some cell not currently visible. Per documentation, I should expect cells to return all cells in the collection view, and visibleCells to return only the currently visible ones. Instead what I'm seeing is that cells returns only the currently visible cells, and calling visibleCells stops the script on 'undefined' is not a function (evaluating 'collection.visibleCells()') var