Skip to content

Instantly share code, notes, and snippets.

@simonnickel
Last active August 29, 2015 13:56
Show Gist options
  • Save simonnickel/9048185 to your computer and use it in GitHub Desktop.
Save simonnickel/9048185 to your computer and use it in GitHub Desktop.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
SNLExampleTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath];
// set cells delegate to connect swipe action method
cell.delegate = self;
// initialize colors, images and toolbar in your SNLInteractionCell subclass
// see SNLExampleTableViewCell.m
// configure example content
[cell.label setText:[self.itemList objectAtIndex:indexPath.row]];
return cell;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment