{"action":"created","issue":{"url":"https://api.github.com/repos/Mantle/Mantle/issues/244","labels_url":"https://api.github.com/repos/Mantle/Mantle/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/Mantle/Mantle/issues/244/comments","events_url":"https://api.github.com/repos/Mantle/Mantle/issues/244/events","html_url":"https://github.com/Mantle/Mantle/issues/244","id":27776157,"number":244,"title":"Performanceissues with CoreData & Relationships","user":{"login":"dschoeni","id":1913623,"avatar_url":"https://avatars.githubusercontent.com/u/1913623?v=3","gravatar_id":"","url":"https://api.github.com/users/dschoeni","html_url":"https://github.com/dschoeni","followers_url":"https://api.github.com/users/dschoeni/followers","following_url":"https://api.github.com/users/dschoeni/following{/other_user}","gists_url":"https://api.github.com/users/dschoeni/gists{/gist_id}","starred_url":"https://api.github.com/users/dschoeni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschoeni/subscriptions","organizations_url":"https://api.github.com/users/dschoeni/orgs","repos_url":"https://api.github.com/users/dschoeni/repos","events_url":"https://api.github.com/users/dschoeni/events{/privacy}","received_events_url":"https://api.github.com/users/dschoeni/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Mantle/Mantle/labels/Core%20Data","name":"Core Data","color":"207de5"},{"url":"https://api.github.com/repos/Mantle/Mantle/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-02-18T08:13:30Z","updated_at":"2015-04-01T16:10:49Z","closed_at":"2015-04-01T16:10:49Z","body":"Hi!\r\n\r\nI am facing some rather unpleasant issues after using CoreData, Relationships and all of this in combination with Mantle. Maybe I got something conceptually wrong which you could help me sort out.\r\n\r\nI'm building a little \"social network\" with Posts, Comments and Threads that contain these Posts. My CoreData structure is as follows.\r\n\r\nThread 1:M Post\r\nPost 1:M Comment\r\nComment 1:1 User\r\nUser 1:M Thread\r\n\r\nI defined all those relationships with their inverse set as CoreData suggests to do. The whole construct works pretty well, but when using my NSFetchedResultsController things get messy. While preparing the UITableViewCell, I'm fetching the NSManagedObject that the NSFetchedResultsController provides and that gets transformed in a Mantle-Object (via [MTLManagedObjectAdapter modelOfClass:Post.class fromManagedObject:[[self fetchedResultsController] objectAtIndexPath:indexPath] error:nil]) - This takes too long though and therefore the whole thing lags a bit while scrolling through the list.\r\n\r\nI wondered whether there is an alternative? I need mantle primarily to serialize the JSON into objects which works really well, it also works quite good with CoreData so far, but these issues are giving me a hard time.\r\n\r\nThanks for reading,"},"comment":{"url":"https://api.github.com/repos/Mantle/Mantle/issues/comments/88537368","html_url":"https://github.com/Mantle/Mantle/issues/244#issuecomment-88537368","issue_url":"https://api.github.com/repos/Mantle/Mantle/issues/244","id":88537368,"user":{"login":"jspahrsummers","id":432536,"avatar_url":"https://avatars.githubusercontent.com/u/432536?v=3","gravatar_id":"","url":"https://api.github.com/users/jspahrsummers","html_url":"https://github.com/jspahrsummers","followers_url":"https://api.github.com/users/jspahrsummers/followers","following_url":"https://api.github.com/users/jspahrsummers/following{/other_user}","gists_url":"https://api.github.com/users/jspahrsummers/gists{/gist_id}","starred_url":"https://api.github.com/users/jspahrsummers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jspahrsummers/subscriptions","organizations_url":"https://api.github.com/users/jspahrsummers/orgs","repos_url":"https://api.github.com/users/jspahrsummers/repos","events_url":"https://api.github.com/users/jspahrsummers/events{/privacy}","received_events_url":"https://api.github.com/users/jspahrsummers/received_events","type":"User","site_admin":true},"created_at":"2015-04-01T16:10:49Z","updated_at":"2015-04-01T16:10:49Z","body":"Core Data support has now moved to [a separate repository](https://github.com/Mantle/MTLManagedObjectAdapter). Please reopen this issue against that repo if you believe it's still valid."}}