Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Allow drag and drop of cells when GMGridView is on edit mode #166

ararog opened this Issue Dec 5, 2012 · 3 comments


None yet
4 participants

ararog commented Dec 5, 2012

It would be nice if grid view allow drag and drop to reorder cells during edit mode.

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
                            options:UIViewAnimationOptionAllowUserInteraction | UIViewAnimationCurveEaseOut
                             self.deleteButton.alpha = 1.f;
    }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....

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