AQGridView icon indicating copy to clipboard operation
AQGridView copied to clipboard

Getting zero Objects in visibleCells and visibleCellIndices

Open Quamber opened this issue 12 years ago • 8 comments

i am working on a a project where i had to add gridView with a Xib file and on selection of a cell i move to next gridView with a Xiv. the problem is that even after the data has been updated ; view has been loaded; the gridView returns zero Objects in visibleCells and visibleCellIndices. I have added reloadData Completion delegare and called the functions after that but still of no use. Please help me out. I will add the code where ever you guy's think there could be a problem.

Quamber avatar Jun 28 '13 11:06 Quamber

$0.01 says there is no data source.

On Jun 28, 2013, at 4:53, Quamber [email protected] wrote:

i am working on a a project where i had to add gridView with a Xib file and on selection of a cell i move to next gridView with a Xiv. the problem is that even after the data has been updated ; view has been loaded; the gridView returns zero Objects in visibleCells and visibleCellIndices. I have added reloadData Completion delegare and called the functions after that but still of no use. Please help me out. I will add the code where ever you guy's think there could be a problem.

— Reply to this email directly or view it on GitHubhttps://github.com/AlanQuatermain/AQGridView/issues/202 .

evadne avatar Jun 28 '13 11:06 evadne

well all the cells are loaded properly. right now i have set total cells to 10 and they are displayed. But whenever i try to get those it does not return any object. I was working on an animation update to this library but i have checked that source too. there is no problem in that

Quamber avatar Jun 28 '13 12:06 Quamber

Problem contained within your own app and the sample app is fine. Correct?

On Jun 28, 2013, at 5:02, Quamber [email protected] wrote:

well all the cells are loaded properly. right now i have set total cells to 10 and they are displayed. But whenever i try to get those it does not return any object. I was working on an animation update to this library but i have checked that source too. there is no problem in that

— Reply to this email directly or view it on GitHubhttps://github.com/AlanQuatermain/AQGridView/issues/202#issuecomment-20184282 .

evadne avatar Jun 28 '13 12:06 evadne

Yes. But the example app is not a Xib based Project. And i am trying to animate the Expansion Demo Function where i need the visible Cells.

Quamber avatar Jun 28 '13 12:06 Quamber

So cells are displayed but the method call does not return any of them. I suggest hooking up the debugger and watching for ivar changes to be sure about the data source not being changed.

On Jun 28, 2013, at 5:05, Quamber [email protected] wrote:

Yes. But the example app is not a Xib based Project. And i am trying to animate the Expansion Demo Function where i need the visible Cells.

— Reply to this email directly or view it on GitHubhttps://github.com/AlanQuatermain/AQGridView/issues/202#issuecomment-20184368 .

evadne avatar Jun 28 '13 12:06 evadne

okay Datasource is set no where except the Xib files as i have set my project according to your Video on Vimeo

Quamber avatar Jun 28 '13 12:06 Quamber

Inspect with debugger.

On Jun 28, 2013, at 5:08, Quamber [email protected] wrote:

okay Datasource is set no where except the Xib files as i have set my project according to your Video on Vimeo

— Reply to this email directly or view it on GitHubhttps://github.com/AlanQuatermain/AQGridView/issues/202#issuecomment-20184506 .

evadne avatar Jun 28 '13 12:06 evadne

okay will let you know after complete inspection. Thanks for ur Valuable Time :)

Quamber avatar Jun 28 '13 12:06 Quamber