title: Executing Code Block In Place Of @selector
body: <p>I'm creating a barButton which when pressed should set the editing mode of a UITableView to yes. Here's my code:</p>
  
  <pre><code>self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle: @"Edit"
                                                                               style: self.navigationController.navigationItem.leftBarButtonItem.style
                                                                              target: self
                                                                               action: ];
  </code></pre>
  
  <p>What I don't understand is what I need to put as an argument for the <code>action</code> part so that I can execute a code block there. I could easily enough put <code>@selector(someMethod)</code> but I'm only executing one or two lines and creating another method is pretty pointless.</p>
  
  <p>Thanks for any help!</p>