{"id":5109,"date":"2012-06-19T22:24:13","date_gmt":"2012-06-20T03:24:13","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=5109"},"modified":"2012-06-19T22:24:14","modified_gmt":"2012-06-20T03:24:14","slug":"core-data-transient-properties","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2012\/06\/19\/core-data-transient-properties\/","title":{"rendered":"Core Data Transient Properties"},"content":{"rendered":"<p><a href=\"http:\/\/subjectiveobserver.wordpress.com\/2012\/06\/17\/fleeting\/\">Andrew Pontious<\/a>:<\/p>\n<blockquote cite=\"http:\/\/subjectiveobserver.wordpress.com\/2012\/06\/17\/fleeting\/\"><p>What I <em>hoped<\/em> they would be was full-fledged members of the database which just happened not to be saved to disk.<\/p>\n<p>What they <em>actually<\/em> are is glorified instance variables. The trouble with using a custom subclass ivar is that its value is <em>only<\/em> present in the specific object you set it on. If you get a different object representing the same entity, say from another context, it won&#8217;t have that value. These can lead to lots of problems.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Andrew Pontious: What I hoped they would be was full-fledged members of the database which just happened not to be saved to disk. What they actually are is glorified instance variables. The trouble with using a custom subclass ivar is that its value is only present in the specific object you set it on. If [&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":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","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":[],"class_list":["post-5109","post","type-post","status-publish","format-standard","hentry","category-programming-category"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/5109","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=5109"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/5109\/revisions"}],"predecessor-version":[{"id":5111,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/5109\/revisions\/5111"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=5109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=5109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=5109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}