Hi
First of all thanks for this library, it works just great.
I was wondering if there's a way to change the SWCellButtonItem's image within the handler of the item. Something along this lines:
SWCellButtonItem *item = [SWCellButtonItem itemWithImage:[UIImage imageNamed:@"on"] handler:^(SWCellButtonItem *item, SWRevealTableViewCell *cell) {
item.image = [UIImage imageNamed:@"off"];
}];
I need to do this since my image is a toggle associated with the cell.
Is there any way to do so?
Thanks
Hi
First of all thanks for this library, it works just great.
I was wondering if there's a way to change the SWCellButtonItem's image within the handler of the item. Something along this lines:
I need to do this since my image is a toggle associated with the cell.
Is there any way to do so?
Thanks