jverkoey/nimbus — Issue #163: setCenterPageIndex cannot be invoked before first loadView 
Author: jahluwalia
Created: 2012-02-14 06:57:06+00:00
State: open

I'm using GMGridView along with nimbus. I have an issue where the first time I touch a cell in my grid, it should load a corresponding page in NetworkPhotoAlbumViewController but instead it always loads the first page. This only happens on the first touch, all subsequent touches are find. I believe it's because photoAlbumView hasn't been initialized as it is only initialized in loadView. How can this issue be resolved? Here is my code:

[theAlbum.photoAlbumView setCenterPageIndex:position];
[self.navigationController pushViewController:theAlbum animated:YES];