Using IGGridView from 2014.2.146
I have not tried this on an actual device yet, only the simulator as pictured.
Very simple datasource and delegate.
I don't know if I have a setting incorrect or something, but I've noticed that the delay (de-selecting the existing row, removing it's cell color, then selecting the clicked row, and highlighting it's cell color) is soooo long when clicking from one row to the next, it borders on making you wonder if you actually clicked it or not. I have not changed any default settings I know of that would cause this, and I'm on a spanking new Mac Pro 15" with a 1 TB SSD, so I hardly think it's my computer. Is there any way to speed this behavior up, so that clicking a row immediately selects it and highights the cell.
I've tried setting the DataSourceHelper.editingTransitionDuration = 0 and that has no noticable affect, so I don't know why this would be so slow.
I've tried time profiling it and that didn't seem to reveal anything useful either.
Users are going to find this behavior really offputting if this can't be changed.
Thanks.
Hi David,
So, selection is only .3 seconds. It's not configurable, but it sounds like something is definitely wrong. If you grab our samples browser from the app store, you can see what its actually supposed to be like. (Side note, the samples browser also gets installed with the product).
Also, the editingTranstionDuration, is for editing only. The IGGridView does have a transitionDuration property, but that for reordering, adding and deleting cells ,rows and columns.
It's hard to say exactly whats happening though without any code.
I've attached a simple sample for now that shows it working properly. Can you verify that its working for you?
Thanks,
-SteveZ
Your code sample is noticably faster than mine.
Perhaps it's something I overrode.
Maybe this... ???
- (void)gridView:(IGGridView *)gridView didSelectCellAtPath:(IGCellPath *)path
{
IGGridViewCell *theCell = [gridView cellAtPath:path];
if (path.columnIndex == 0)
theCell.backgroundColor = [UIColor greenColor];
}
Could I submit my play project for you to take a look at ?
There's only a gridview, and about 3 classes in 6 files.
If so, would I just attach it here, or send it another way.