Closed giuseppebruno closed 8 years ago
You can use
[NSIndexPath indexPathWithIndex:index]
How can I access same(indexPath) in Objective-C? whereas I've already tried following.
NSIndexPath *indexPath = [self.tableView indexPathForSelectedRow];
NSLog(@"selected favourite button tag %ld",(long)indexPath);
whereas in simulator it gives me same result each time.
selected favourite button tag 0
Any solution to get button "setTag" property to access index path of the row for that utility buttons are being pressed just like in normal tableview
How to get
indexPath
when callingfunc swipeableTableViewCell(cell: SWTableViewCell!, didTriggerRightUtilityButtonWithIndex index: Int)
in Swift?