AlanQuatermain/AQGridView — pull request #156 by whatcher2 (2012-08-28 19:07:21+00:00)
Title: Recalculate contentOffset for device rotation

On very large tables with different layouts in portrait/landscape like 3x4/4x3 the total grid height can be very different so its necessary to change the contentOffset proportionally. This keeps the current cells in view (as much as possible). Before making any calculations the cell size needs to be fetched to handle cases when its height differs between portrait and landscape.