title: Removing items from a UITableView without using edit
body: <p>I am trying to delete rows in an array without having to use the edit function that Apple provide (Something along the lines of <code>-(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath</code>). So the user selects some of the rows, presses a button <strong>not</strong> in the table view, then those rows fade away. Apple provide something of sorts <a href="http://developer.apple.com/library/ios/documentation/userexperience/conceptual/tableview_iphone/ManageInsertDeleteRow/ManageInsertDeleteRow.html" rel="nofollow">here</a>. </p>
  
  <p>The code I am using calls an array of rows to be deleted, which is defined elsewhere, removes the array population objects at those particular rows, and is supposed to remove all of the rows using the fade stuff. </p>
  
  <pre><code>- (void) deleteTableRow {
  
  NSIndexPath *current;
  NSLog(@"to be deleted: %@", toBeDeleted); //toBeDeleted is the array with the NSIndexPath items
  
  for(int i=0; i &lt; [toBeDeleted count]; i++) {
      current = [toBeDeleted objectAtIndex: i];
  
      [tableData removeObjectAtIndex:current.row]; //Remove the necessary array stuff
  
  }
  tv = [UITableView alloc];
  [tv beginUpdates];
  [tv deleteRowsAtIndexPaths:toBeDeleted withRowAnimation:UITableViewRowAnimationFade];
  [tv endUpdates];
      // Do whatever data deletion you need to do...
  </code></pre>
  
  <p>}</p>
  
  <p><strong>tv</strong> is defined in my header file and is a referencing outlet of my UITableView.</p>
  
  <p>So here are my main questions:</p>
  
  <ul>
  <li>Because my UITableView is not a UITableViewController (it is part of the view instead), <strong>is this even possible?</strong></li>
  <li>If it is possible, <strong>why</strong> is this not working? </li>
  </ul>