title: setEditing:animated: is missing animation?
body: <p>I encountered a problem while programming iOS: When I tried to make my custom edit button for my tableView, I just could not have it animated. Below is how I initialized tableview:</p>
  
  <pre><code>- (void)viewWillAppear:(BOOL)animated 
  { 
      [super viewWillAppear:animated]; 
  
      myTableView = [[UITableView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame] style:UITableViewStylePlain]; 
      myTableView.delegate = self; 
      myTableView.dataSource = self; 
  
      myTableView.autoresizesSubviews = YES; 
  
      .......
  
      self.view = myTableView; 
  
      UIBarButtonItem *addButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemBookmarks target:self action:@selector(setEditing:animated:)];     
      self.navigationItem.rightBarButtonItem = addButton; 
      [addButton release]; 
  } 
  </code></pre>
  
  <p>However, when I used self.editButtonItem instead of my addButton, the editing mode IS animated. And here's my setEditing:animated: method. I can get my tableview into editing mode and the insert button appeared immediately to the left. I've tried <code>[myTableView reloadRowsAtIndexPaths:[myTableView indexPathsForVisibleRows] withRowAnimation:UITableViewRowAnimationAutomatic];</code> 
  but it doesn't help on iOS 4.3.</p>
  
  <pre><code>- (void)setEditing:(BOOL)editing animated:(BOOL)animated{ 
  
  if(self.editing){ 
      [super setEditing:NO animated:YES]; 
      [myTableView reloadRowsAtIndexPaths:[myTableView indexPathsForVisibleRows] withRowAnimation:UITableViewRowAnimationAutomatic]; 
      [myTableView reloadData]; 
      self.navigationItem.title = [selectedCellItem valueForKey:@"name"]; 
      UIBarButtonItem *addButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemBookmarks target:self action:@selector(setEditing:animated:)];  
      self.navigationItem.rightBarButtonItem = addButton; 
      [self.navigationItem.rightBarButtonItem setStyle:UIBarButtonItemStylePlain]; 
      [addButton release]; 
  } 
  else { 
      [super setEditing:YES animated:YES]; 
      [myTableView reloadRowsAtIndexPaths:[myTableView indexPathsForVisibleRows] withRowAnimation:UITableViewRowAnimationAutomatic]; 
      self.navigationItem.title = @"Add to Favourites"; 
      UIBarButtonItem *doneButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(setEditing:animated:)];     
      self.navigationItem.rightBarButtonItem = doneButton; 
      [self.navigationItem.rightBarButtonItem setStyle:UIBarButtonItemStyleDone]; 
      [doneButton release]; 
      [myTableView reloadData]; 
  } 
  
  } 
  </code></pre>