gmoledina / GMGridView

A performant Grid-View for iOS (iPhone/iPad) that allows sorting of views with gestures (the user can move the items with his finger to sort them) and pinching/rotating/panning gestures allow the user to play with the view and toggle from the cellview to a fullsize display.
MIT License
2.3k stars 512 forks source link

GMGridView, how to delete a cell ? #173

Open vanguard0808 opened 11 years ago

vanguard0808 commented 11 years ago

Hello, there

I am not sure , how and when can I delete a cell from the GMGridView . Here is the code which seems to work for delete function . But I am not sure it doesn't work for removing cell .

    cell = [[GMGridViewCell alloc] init];
    cell.deleteButtonIcon = [UIImage imageNamed:@"close_x.png"];
    cell.deleteButtonOffset = CGPointMake(-15, -15);

But I can not see "delete" button on the cell . Thanks in any advice .

Regards.