         // Register the UITableViewCell class with the tableView
         self.toDoList?.registerClass(UITableViewCell.self, forCellReuseIdentifier: self.cellIdentifier)
         
-        let newItem = NSEntityDescription.insertNewObjectForEntityForName("ToDoItem", inManagedObjectContext: self.managedObjectContext!) as ToDoItem
-        
-        newItem.itemName = "First thing"
         //tableData.append(newItem)
     }
 

        // Dispose of any resources that can be recreated.
    }


    @IBAction func handleAdd(sender: UIButton) {
        self.toDoText.endEditing(true)
        

        self.toDoText.endEditing(true)
        
        //tableData.append(newItem)
        self.save()
        
        self.toDoList?.reloadData()
    }
