     
     func controller(controller: NSFetchedResultsController, didChangeObject anObject: AnyObject, atIndexPath indexPath: NSIndexPath, forChangeType type: NSFetchedResultsChangeType, newIndexPath: NSIndexPath)
     {
-        switch type
-            {
+        switch type {
         case NSFetchedResultsChangeType.Insert:
             self.tableView.insertRowsAtIndexPaths([ newIndexPath ], withRowAnimation: UITableViewRowAnimation.Fade)
         case NSFetchedResultsChangeType.Delete:

    
    private class func animationOptionCurve(fromAnimationCurve curve: UIViewAnimationCurve) -> UIViewAnimationOptions
    {
        switch (curve)
            {
        case UIViewAnimationCurve.EaseInOut:
            return UIViewAnimationOptions.CurveEaseInOut;
        case UIViewAnimationCurve.EaseIn:

        return true
    }
    
    func tableView(tableView: UITableView!, editingStyleForRowAtIndexPath indexPath: NSIndexPath!) -> UITableViewCellEditingStyle
    {
        return UITableViewCellEditingStyle.Delete
