Open ararog opened 11 years ago
I added this method to GMGridViewCell.m/h and set it for each cell. Then I can delete a cell while its in edit mode. This is just a test, I haven't fully cleaned this up.
(void)forceEnableDeleteButton:(BOOL)animated { BOOL tempEditing = YES;
if (animated) {
[UIView animateWithDuration:0.2f
delay:0.f
options:UIViewAnimationOptionAllowUserInteraction | UIViewAnimationCurveEaseOut
animations:^{
self.deleteButton.alpha = 1.f;
}
completion:nil];
}else {
self.deleteButton.alpha = 1.f;
}
self.contentView.userInteractionEnabled = !tempEditing;
[self shakeStatus:animated];
}
I know its an old issue.. if you are still working on it... I have added something similar to what you mention here.... https://github.com/zeroCoder1/GMGridView/blob/master/GMGridView/GMGridView.m#L611
It would be nice if grid view allow drag and drop to reorder cells during edit mode.