GMGridView icon indicating copy to clipboard operation
GMGridView copied to clipboard

can not see delete button on the top of each cell.

Open vanguard0808 opened this issue 13 years ago • 1 comments

Hi, there

Have you ever complied the source code of GMGridView example project ? Even though it has a few lines of code wich allows users to see the delete button . But actually , it doesn't appear on the cell .

Here I attach the code , this is just same as example .

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

Many thanks in advices.

vanguard0808 avatar Jan 02 '13 16:01 vanguard0808

In the file GMGridViewCell.m self.deleteButton.alpha = 0; Should be set to 1

AlexEdunov avatar Aug 13 '13 10:08 AlexEdunov