Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLSwipeForOptionsCell's buttons are now customizable #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

furkanmustafa
Copy link

Added this to TLSwipeForOptionsCell

- (void)addButtonWithOptions:(NSDictionary *)options;

Removed hardcoded TLSwipeForOptionsCellDelegate functions and added this one instead;

- (void)cell:(TLSwipeForOptionsCell *)cell didSelectButtonAtIndex:(NSUInteger)index withInfoDictionary:(NSDictionary *)info;

@zzz6519003
Copy link

oops, seems the maintainer has stopped caring

@@ -80,6 +80,17 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
NSDate *object = _objects[indexPath.row];
cell.textLabel.text = [object description];
cell.delegate = self;
// [cell resetButtons]; // prepareForReuse function already does this, hopefully.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably better to remove this than comment it out.

@ashfurrow
Copy link
Contributor

Looks cool – I've left T+L, so I can't merge anymore, but maybe @BrendanLynch can take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants