Skip to content

Selected row color #15

@middiu

Description

@middiu

Hi hpique,
thanks for this fantastic library, it works great and saved me a lot of time.
I don't have any problem regards the functionality of the library, I'm able to move the cells and trigger the associated action, my issue is a cosmetic issue: when a cell is selected by a long press gesture and is moving it becomes BLACK... when the cell is just selected the color is BLUE
How can I change this color and make it transparent ( or any other color)?

This is the code I'm using to try to customise the cell:

((HPReorderTableView *)self.tableView).reorderDragView.layer.shadowColor = UIColorFromRGB(0x89BAE9).CGColor;
((HPReorderTableView *)self.tableView).reorderDragView.backgroundColor = [UIColor clearColor];
[((HPReorderTableView *)self.tableView)registerTemporaryEmptyCellClass:SCSpotCell.class];

self.tableView.backgroundColor = [UIColor clearColor];
self.tableView.delegate = self;
self.tableView.dataSource = self;
self.tableView.separatorColor = [UIColor colorWithWhite:1 alpha:0.2];
self.tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];
self.tableView.contentInset = UIEdgeInsetsMake(0, 0, self.bottomLayoutGuide.length, 0);

Thanks
Emilio

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions