SHARE
TWEET

Untitled

a guest Jan 29th, 2020 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
  2.     NSString *x = [_todolist objectAtIndex: indexPath.row];
  3.     [_doneTodos addObject:x];
  4.     [_todolist removeObjectAtIndex: indexPath.row];
  5.     [tableView reloadData];
  6.  
  7.     //Spara i NSUserDefaults
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top