Imanol Fernandez

Results 54 comments of Imanol Fernandez

> 1. Prevent the MGSwipeTableViewCells from unswiping upon calling tableView.reloadData() You could save the swipeOffset of each visible cell and restore the values after calling reloadData. > 1. Access the...

Hello, There is not a builtin property to achieve that, but you can try something like this using this delegate method ``` -(void) swipeTableCell:(MGSwipeTableCell*) cell didChangeSwipeState:(MGSwipeState) state gestureIsActive:(BOOL) gestureIsActive {...

Hi @Sunitadaffodil You can do this way. Implement the swipeTableCellWillBeginSwiping delegate method and calculate the expansion threshold based on the buttons width and the UITableView width ``` -(void) swipeTableCellWillBeginSwiping:(MGSwipeTableCell *)...

Hi iBodia, Please, check if you have enabled allowsButtonsWithDifferentWidth. // default is NO. Controls whether buttons with different width are allowed. Buttons are resized to have the same size by...

Are you creating different button instances for each cell? You can check the demos to see how buttons are created. You can also send me a testcase if you want...

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. } ```

Hi, Check the threshold property of MGSwipeSettings and MGSwipeExpansionSettings: //MGSwipeSettings /*\* Size proportional threshold to hide/keep the buttons when the user ends swiping. Default value 0.5 */ @property (nonatomic, assign)...

I agree that we should focus on layers and that it's not the time for breaking changes in the core API. I wanted to implement the opaque pattern for this....

I created this bugzilla ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=1638414