GMGridViewActionDelegate not getting called #183

nmock opened this Issue Jun 5, 2013 · 1 comment


None yet

2 participants

nmock commented Jun 5, 2013

I'm not sure why GMGridViewActionDelegate isn't getting called in my code? I am implementing / setting the actionDelegate property, seems like the gesture isn't getting passed through (I have even tried the suggested: #68)

I am using a grid of UIButtons, for a workaround for the time being, I am using setting tags / adding actions to buttons to handle (which seems to be working)

self.tagsGridView = [[GMGridView alloc] initWithFrame:CGRectMake(0, 4, tagViewContainer.frame.size.width, tagViewContainer.frame.size.height - 6)];
self.tagsGridView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
self.tagsGridView.backgroundColor = [UIColor clearColor];
self.tagsGridView.showsVerticalScrollIndicator = NO;
self.tagsGridView.itemSpacing = 12;
self.tagsGridView.minEdgeInsets = UIEdgeInsetsMake(12, 12, 12, 12);
self.tagsGridView.centerGrid = YES;
self.tagsGridView.delegate = self;
self.tagsGridView.actionDelegate = self;
self.tagsGridView.dataSource = self;
self.scrollsToTopScrollview = self.tagsGridView;
[tagViewContainer addSubview:self.tagsGridView];

Any ideas?


Have you resolved this? It is a bit hard to tell what is wrong with only that snippet of code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment