MGSwipeTableCell icon indicating copy to clipboard operation
MGSwipeTableCell copied to clipboard

How to get the swipeOffset changes?

Open himanshujoshi47 opened this issue 9 years ago • 1 comments

I want to make some constraint changes while swiping the cell contentView. How can I get the frequent updates for swipeOffset changes?

himanshujoshi47 avatar Jun 15 '16 15:06 himanshujoshi47

You can override the swippeOffset property setter to detect all the frequent changes

- (void)setSwipeOffset:(CGFloat) newOffset {
   [super setSwipeOffset:newOffset];
   //Your constraint code here. See refreshContentView method too.
}

MortimerGoro avatar Jul 23 '16 15:07 MortimerGoro