I'm using the GMGridView with a subclassed UIView as the contentView of the cells. These are assigned in the
- (GMGridViewCell *)GMGridView:(GMGridView *)gridView cellForItemAtIndex:(NSInteger)index
Now I'd like the cells to have a highlight, similar to the behavior of the UIButton. Meaning that there is a slightly opaque darker overlay. I just can't figure out where I'd have to assign the highlighting.
I saw that GMGridViewCell has a property called highlighted, which indicates if the cell ist highlighted or not. Setting it to cell.highlighted = YES; in the above method doesn't change anything in the appearance of the cell.
In the description on the GMGridView website it says
Features - General:
- Cell highlighting support
So, there should be a way ...
Can anybody tell me, how the highlighting should be assigned?