title: controllerDidChangeContent not called
body: <p>My app is quite simple: a TableViewController displays the content stored in Core Data. An add button pushes a second view modally which allows me to save stuff into Core Data. I am using <code>NSFetchedResultsController</code> to populate the main VC. If I save stuff to Core Data and present the main view controller again, my tableView doesn't refresh its data. I think it is because the delegate methods are not called. Any idea why?</p>
  
  <pre><code>import UIKit
  import CoreData
  
  class MainTableViewController: UITableViewController, NSFetchedResultsControllerDelegate {
  var managedContext: NSManagedObjectContext!
  var fetchedResultsController: NSFetchedResultsController!
  lazy var coreDataStack = CoreDataStack()
  
      override func viewDidLoad() {
      super.viewDidLoad()
  
      // Do any additional setup after loading the view, typically from a nib.
      self.setToolbarItems(toolBar().cons, animated: true)
      self.navigationController?.setToolbarHidden(false, animated: true)
      let fetchRequest = NSFetchRequest(entityName: "CDPodcast")
      let sort = NSSortDescriptor(key: "artist", ascending: true)
      fetchRequest.sortDescriptors = [sort]
      managedContext = coreDataStack.context
      fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest, managedObjectContext: managedContext, sectionNameKeyPath: nil, cacheName: nil)
      fetchedResultsController.delegate = self
      var error: NSError? = nil
      if (!fetchedResultsController.performFetch(&amp;error)) {
          println("Error: \(error?.localizedDescription)")
      }
  
  }
  </code></pre>
  
  <p>None of the below are called</p>
  
  <pre><code> func controller(controller: NSFetchedResultsController, didChangeSection sectionInfo: NSFetchedResultsSectionInfo, atIndex sectionIndex: Int, forChangeType type: NSFetchedResultsChangeType) {
      println("change section")
  }
  
  func controllerWillChangeContent(controller: NSFetchedResultsController) {
      tableView.reloadData()
      println("begin updates")
  }
  
  func controllerDidChangeContent(controller: NSFetchedResultsController) {
      tableView.reloadData()
      println("end updates")
  }
  </code></pre>
  
  <p>Edit: More code</p>
  
  <pre><code> func saveToCoreData(name: String, artist: String, summary: String, feedURL: String, artworkURL: String, date: NSDate, episodes: [MWFeedItem]) {
      self.managedContext = coreDataStack.context
      let podcastEntity = NSEntityDescription.entityForName("CDPodcast", inManagedObjectContext: self.managedContext)
      currentPodcast = CDPodcast(entity: podcastEntity!, insertIntoManagedObjectContext: self.managedContext)
      currentPodcast.name = name
      currentPodcast.artist = artist
      currentPodcast.summary = summary
      currentPodcast.feedURL = feedURL
      currentPodcast.artworkURL = artworkURL
      currentPodcast.date = date
  
  
      let episodesEntity = NSEntityDescription.entityForName("CDEpisode", inManagedObjectContext: self.managedContext)
      for var i = 0; i &lt; episodes.count; i++ {
          let episodesToSave = CDEpisode(entity: episodesEntity!, insertIntoManagedObjectContext: self.managedContext)
          var episode: AnyObject = currentPodcast.episode.mutableCopy() as! NSMutableOrderedSet
  
          println("There are \(episodes.count) items in the episodes array")
          episodesToSave.title = episodes[i].title
          episodesToSave.downloadURL = episodes[i].enclosures[0].valueForKey("url") as! String
          episodesToSave.showNotes = episodes[i].summary
          episode.addObject(episodesToSave)
          currentPodcast.episode = episode.copy() as! NSOrderedSet
      }
  
  
      self.coreDataStack.saveContext()
  
  }
  </code></pre>