Skip to content

Conversation

@armandvanderwalt
Copy link

...s ended and the state of the cell, this allows for implementations where you would want to execute a command when scrolling ends

Usage:

-(void) swipeableTableViewCell:(SWTableViewCell *)cell didSwipeToState:(SWCellState)state
{
if(state == kCellStateLeft)
{
NSLog(@"Swiped right");
}
if(state == kCellStateRight)
{
NSLog(@"Swiped left");
}

if(state == kCellStateCenter)
{
    NSLog(@"Closed");
}

}

… has ended and the state of the cell, this allows for implementations where you would want to execute a command when scrolling ends
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.

1 participant