{"action":"created","issue":{"url":"https://api.github.com/repos/magicalpanda/MagicalRecord/issues/946","labels_url":"https://api.github.com/repos/magicalpanda/MagicalRecord/issues/946/labels{/name}","comments_url":"https://api.github.com/repos/magicalpanda/MagicalRecord/issues/946/comments","events_url":"https://api.github.com/repos/magicalpanda/MagicalRecord/issues/946/events","html_url":"https://github.com/magicalpanda/MagicalRecord/issues/946","id":55096013,"number":946,"title":"NSFetchedResultsControllerDelegate Methods Never Called","user":{"login":"travisjbeck","id":254547,"avatar_url":"https://avatars.githubusercontent.com/u/254547?v=3","gravatar_id":"","url":"https://api.github.com/users/travisjbeck","html_url":"https://github.com/travisjbeck","followers_url":"https://api.github.com/users/travisjbeck/followers","following_url":"https://api.github.com/users/travisjbeck/following{/other_user}","gists_url":"https://api.github.com/users/travisjbeck/gists{/gist_id}","starred_url":"https://api.github.com/users/travisjbeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travisjbeck/subscriptions","organizations_url":"https://api.github.com/users/travisjbeck/orgs","repos_url":"https://api.github.com/users/travisjbeck/repos","events_url":"https://api.github.com/users/travisjbeck/events{/privacy}","received_events_url":"https://api.github.com/users/travisjbeck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-22T00:01:22Z","updated_at":"2015-01-22T22:02:11Z","closed_at":null,"body":"I am creating a FRC with:\r\n\r\n```\r\n- (NSFetchedResultsController *)fetchedResultsController {\r\n    \r\n    if (_fetchedResultsController != nil) {\r\n        return _fetchedResultsController;\r\n    }\r\n    \r\n    NSManagedObjectContext *context = [NSManagedObjectContext MR_defaultContext];\r\n    \r\n    \r\n    NSArray  *following = [[SessionManager getInstance].currentLoggedInUser.follows allObjects];\r\n    NSDate *now = [NSDate date];\r\n\r\n    NSPredicate *pred = [NSPredicate predicateWithFormat:@\"account IN %@ && expiration > %@\", following, now];\r\n    _fetchedResultsController = [Post MR_fetchAllSortedBy:@\"expiration\"\r\n                                                   ascending:YES\r\n                                               withPredicate:pred\r\n                                                     groupBy:nil\r\n                                                    delegate:self\r\n                                                    inContext:context];\r\n    \r\n    \r\n    return _fetchedResultsController;\r\n}\r\n\r\n```\r\n```\r\n- (void)viewDidLoad {\r\n    [super viewDidLoad];\r\n    \r\n    NSError *error;\r\n    if (![[self fetchedResultsController] performFetch:&error]) {\r\n        // Update to handle the error appropriately.\r\n        NSLog(@\"Unresolved error %@, %@\", error, [error userInfo]);\r\n        exit(-1);  // Fail\r\n    }\r\n```\r\nand saving data with:\r\n```\r\n[MagicalRecord saveWithBlock:^(NSManagedObjectContext *localContext){\r\n                                        } completion:^(BOOL success, NSError *error) {\r\n                                        }];\r\n```\r\n\r\nThe FRC delegate methods are never called in my UIViewController and the table data is blank until I leave the view and come back or reload the app."},"comment":{"url":"https://api.github.com/repos/magicalpanda/MagicalRecord/issues/comments/71108116","html_url":"https://github.com/magicalpanda/MagicalRecord/issues/946#issuecomment-71108116","issue_url":"https://api.github.com/repos/magicalpanda/MagicalRecord/issues/946","id":71108116,"user":{"login":"travisjbeck","id":254547,"avatar_url":"https://avatars.githubusercontent.com/u/254547?v=3","gravatar_id":"","url":"https://api.github.com/users/travisjbeck","html_url":"https://github.com/travisjbeck","followers_url":"https://api.github.com/users/travisjbeck/followers","following_url":"https://api.github.com/users/travisjbeck/following{/other_user}","gists_url":"https://api.github.com/users/travisjbeck/gists{/gist_id}","starred_url":"https://api.github.com/users/travisjbeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travisjbeck/subscriptions","organizations_url":"https://api.github.com/users/travisjbeck/orgs","repos_url":"https://api.github.com/users/travisjbeck/repos","events_url":"https://api.github.com/users/travisjbeck/events{/privacy}","received_events_url":"https://api.github.com/users/travisjbeck/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T22:02:11Z","updated_at":"2015-01-22T22:02:11Z","body":"Yeah, Im using 2.3.0-beta.5\r\nIf I add that line.  The App hangs indefinitely.  \r\nIf MR_defaultContext never gets notified of a change how will this EVER work?  \r\nAm I setting the FRC up wrong? Am I saving my data wrong?\r\n\r\nTheres obviously something I'm missing, I've done this exact same thing dozens of times before and never had this problem."}}