{"id":5404,"date":"2012-07-23T22:44:32","date_gmt":"2012-07-24T02:44:32","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=5404"},"modified":"2021-03-27T15:36:43","modified_gmt":"2021-03-27T19:36:43","slug":"core-data-growing-pains","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2012\/07\/23\/core-data-growing-pains\/","title":{"rendered":"Core Data Growing Pains"},"content":{"rendered":"<p><a href=\"http:\/\/wbyoung.tumblr.com\/post\/27851725562\/core-data-growing-pains\">Whitney Young<\/a>:<\/p>\n<blockquote cite=\"http:\/\/wbyoung.tumblr.com\/post\/27851725562\/core-data-growing-pains\"><p>Today I&rsquo;m going to discuss nested context support in Core Data and various issues that exist with them. Some of these issues are minor bugs. Others may be considered functionally correct by the Core Data team, but result in unexpected behavior. Regardless, they add up to nested contexts being a feature you should avoid completely (as of this writing).<\/p><\/blockquote>\n<p>One of the surprising issues is that Apple specifically recommends using nested contexts to do work in the background, yet if you use a nested context on a background thread it will block your user interface.<\/p>","protected":false},"excerpt":{"rendered":"<p>Whitney Young: Today I&rsquo;m going to discuss nested context support in Core Data and various issues that exist with them. Some of these issues are minor bugs. Others may be considered functionally correct by the Core Data team, but result in unexpected behavior. Regardless, they add up to nested contexts being a feature you should [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2021-03-27T19:36:46Z","apple_news_api_id":"d864a8d5-59a7-41dd-8e76-918025d3d565","apple_news_api_modified_at":"2021-03-27T19:36:46Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/A2GSo1VmnQd2OdpGAJdPVZQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[109,71],"class_list":["post-5404","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-coredata","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/5404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=5404"}],"version-history":[{"count":4,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/5404\/revisions"}],"predecessor-version":[{"id":5408,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/5404\/revisions\/5408"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=5404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=5404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=5404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}