Closed shawn458 closed 7 years ago
Closing this as I was able to resolve the issue.
hello, could you tell me how you do this? Thank in advance :D
No problem.
For the tappedButtonAtIndex, I just needed to change the PendingRequestsMGCell to ContactsMGCell (the custom cell that I imported). A really minor mistake that was overlooked.
- (BOOL)swipeTableCell:(ContactsMGCell *)cell tappedButtonAtIndex:(NSInteger)index direction:(MGSwipeDirection)direction fromExpansion:(BOOL)fromExpansion {
NSLog(@"Cell: %ld", [self.tableView indexPathForCell:cell].row);
return YES;
}
Let me know if you have a specific question.
I have subclassed the cell and I am trying the retrieve the index path of the tapped cell but I receive no interaction. Can anyone please help?
I have called the Delegate:
The cellForRowAtIndexPath
The tappedButtonAtIndex