{"action":"created","issue":{"url":"https://api.github.com/repos/3lvis/DATASource/issues/32","labels_url":"https://api.github.com/repos/3lvis/DATASource/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/3lvis/DATASource/issues/32/comments","events_url":"https://api.github.com/repos/3lvis/DATASource/issues/32/events","html_url":"https://github.com/3lvis/DATASource/issues/32","id":112669729,"number":32,"title":"DATASource does not call tableview delegate methods while using with Objective-C umbrela","user":{"login":"cyupa","id":958431,"avatar_url":"https://avatars.githubusercontent.com/u/958431?v=3","gravatar_id":"","url":"https://api.github.com/users/cyupa","html_url":"https://github.com/cyupa","followers_url":"https://api.github.com/users/cyupa/followers","following_url":"https://api.github.com/users/cyupa/following{/other_user}","gists_url":"https://api.github.com/users/cyupa/gists{/gist_id}","starred_url":"https://api.github.com/users/cyupa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyupa/subscriptions","organizations_url":"https://api.github.com/users/cyupa/orgs","repos_url":"https://api.github.com/users/cyupa/repos","events_url":"https://api.github.com/users/cyupa/events{/privacy}","received_events_url":"https://api.github.com/users/cyupa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-21T20:12:07Z","updated_at":"2015-12-13T09:05:33Z","closed_at":"2015-12-13T09:05:33Z","body":"I'm trying DATASource in a project and it doesn't seem to work.\r\n\r\nI setup the DATASource object accordingly:\r\n```\r\n    NSFetchRequest *request = [[NSFetchRequest alloc] initWithEntityName:@\"Session\"];\r\n    request.sortDescriptors = @[[NSSortDescriptor sortDescriptorWithKey:@\"name\" ascending:YES]];\r\n    NSManagedObjectContext *context = [[CodecampDataStack sharedStack].dataStack mainContext];\r\n    \r\n    DATASource *dataSource = [[DATASource alloc] initWithTableView:self.tableView\r\n                                                    cellIdentifier:kSessionTableViewCellReusableIdentifier\r\n                                                      fetchRequest:request\r\n                                                       mainContext:context\r\n                                                       sectionName:nil\r\n                                                     configuration:^(UITableViewCell * _Nonnull cell, NSManagedObject * _Nonnull item, NSIndexPath * _Nonnull indexPath) {\r\n                                                         \r\n                                                         cell.textLabel.text = [item valueForKey:@\"name\"];\r\n                                                     }];\r\n    self.tableView.dataSource = dataSource;\r\n```\r\n\r\nBut it seems that the tableView delegate methods (inside DATASource) are not called.\r\ncalling `po dataSource.objectsCount` returns, as expected, 67.\r\n\r\nProject can be found here: https://github.com/cyupa/Codecamp-iOS\r\nUITableViewClass: SessionsTableViewController."},"comment":{"url":"https://api.github.com/repos/3lvis/DATASource/issues/comments/164241028","html_url":"https://github.com/3lvis/DATASource/issues/32#issuecomment-164241028","issue_url":"https://api.github.com/repos/3lvis/DATASource/issues/32","id":164241028,"user":{"login":"3lvis","id":1088217,"avatar_url":"https://avatars.githubusercontent.com/u/1088217?v=3","gravatar_id":"","url":"https://api.github.com/users/3lvis","html_url":"https://github.com/3lvis","followers_url":"https://api.github.com/users/3lvis/followers","following_url":"https://api.github.com/users/3lvis/following{/other_user}","gists_url":"https://api.github.com/users/3lvis/gists{/gist_id}","starred_url":"https://api.github.com/users/3lvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3lvis/subscriptions","organizations_url":"https://api.github.com/users/3lvis/orgs","repos_url":"https://api.github.com/users/3lvis/repos","events_url":"https://api.github.com/users/3lvis/events{/privacy}","received_events_url":"https://api.github.com/users/3lvis/received_events","type":"User","site_admin":false},"created_at":"2015-12-13T09:05:33Z","updated_at":"2015-12-13T09:05:33Z","body":"Hi @cyupa,\r\n\r\nI've been trying to get this working but the main issue seems to be related to Storyboards. I would recommend to use this without Storyboards as a workaround. I hope that helps.\r\n\r\nBest,"}}