     func listDetailViewController(controller: ListDetailViewController, didFinishEditingChecklist checklist: Checklist)
   }
   
-  class ListDetailViewController: UITableViewController, UITextFieldDelegate {
+  class ListDetailViewController: UITableViewController, UITextFieldDelegate, IconPickerViewControllerDelegate {
     var checklistToEdit: Checklist?
+    var iconName = "Folder"
+    
     
     @IBOutlet weak var checklistTextField: UITextField?
     @IBOutlet weak var doneBarButton: UIBarButtonItem?

      }
      
      return true
      
      
    }

}

        title = "Edit checklist"
        checklistTextField?.text = itemToEdit.name
        doneBarButton?.enabled = true
        iconName = itemToEdit.iconName
      }
      
      iconImageView.image = UIImage(named: iconName)
    }
    
    // MARK: Table specific
