meteor-ios icon indicating copy to clipboard operation
meteor-ios copied to clipboard

managedObjectContext nil - NSFetchedResultsController

Open RonGafni opened this issue 8 years ago • 0 comments

Hey,

I don't know how but my managedObjectContext is nil when I'm trying to fetch objects to tableview

My View Controller return NSFetchedResultsController(fetchRequest: fetchRequest, managedObjectContext: managedObjectContext, sectionNameKeyPath: nil, cacheName: nil)

AppDelegate let storyboard = UIStoryboard(name: "Main", bundle: nil) let conversationViewController = storyboard.instantiateViewControllerWithIdentifier("ConversationViewController") as! GOConversationsTableViewController conversationViewController.managedObjectContext = meteor.mainQueueManagedObjectContext

What am I doing wrong? Thanks!!

RonGafni avatar Jul 27 '16 09:07 RonGafni