CEWendel / SWTableViewCell

An easy-to-use UITableViewCell subclass that implements a swippable content view which exposes utility buttons (similar to iOS 7 Mail Application)
MIT License
7.13k stars 1.27k forks source link

Swipe not working in iOS 10.1 #407

Open infinZero opened 8 years ago

infinZero commented 8 years ago

in my case I am using Standard TableviewCell First thing which is missing in your code is to put #import <UIKit/UIKit.h> in your NSMutableArray+SWUtilityButtons.h file which I've corrected. Now there is no issue everything is correctly implemented But Swipe is not working in iOS 10.1 Please check on your side & to suggest me some better solution. Please note I am also using only Landscape mode in my app. Waiting for solution anxiously

scottcc commented 7 years ago

Hmm - based on the activity it looks like this project might be abandoned..

bouchtaoui-dev commented 7 years ago

Hmm strange, it does work for me. But I just don't use CocoaPods, I cloned the project and copied the sources to my project, added #import <UIKit/UIKit.h> and everything works like a charm. Looking at the amount of forks and stars for this project, it must be a good one 👍

infinZero commented 7 years ago

This time I am able to swipe cell & it is working well. after that I'd some issue with the segue sender it was not working but I used to consult with other members issue raised & followed instructions for solving that problem,

Now I am also able to achieve index path of selected row for segue sender and it is working well

However I've issue with utility buttons setTag Property

How can I access UitlityButtons row's IndexPath whereas I've already tried following.

NSIndexPath *indexPath = [self.tableView indexPathForSelectedRow]; 
NSLog(@"selected favourite button tag %ld",(long)indexPath);

In simulator it gives me same result each time for each of the row.

selected favourite button tag 0

Any solution to get button's "setTag" property to access index path of the row for those utility buttons when pressed just like in normal tableview