 
     @IBOutlet weak var tableView: UITableView!
 
+
     let stack = CoreDataStack()
 
     var dataSourceProvider: TableViewFetchedResultsDataSourceProvider<Thing, TableViewCellFactory<TableViewCell, Thing> >?
 
     var delegateProvider: TableViewFetchedResultsDelegateProvider<Thing, TableViewCellFactory<TableViewCell, Thing> >?
+
 
     override func viewDidLoad() {
         super.viewDidLoad()



    @IBAction func didTapDeleteButton(sender: UIBarButtonItem) {

        if let indexPaths = tableView.indexPathsForSelectedRows() as? [NSIndexPath] {

            println("Deleting things at indexPaths: \(indexPaths)")



    @IBAction func didTapAddButton(sender: UIBarButtonItem) {
        tableView.deselectAllRows()

        let newThing = Thing.newThing(stack.context)
        stack.saveAndWait()
