<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Persistence on The Dangling Pointer</title><link>https://aaron.blog/tags/persistence/</link><description>Recent content in Persistence on The Dangling Pointer</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 22 Oct 2014 14:17:22 +0000</lastBuildDate><atom:link href="https://aaron.blog/tags/persistence/index.xml" rel="self" type="application/rss+xml"/><item><title>Core Data Object IDs can change</title><link>https://aaron.blog/core-data-object-ids-can-change/</link><pubDate>Wed, 22 Oct 2014 14:17:22 +0000</pubDate><guid>https://aaron.blog/core-data-object-ids-can-change/</guid><description>&lt;p&gt;I thought I knew a lot about Core Data with having used it a lot over the past years.  Today, I learned something new that I feel like I should have known for a long time.  NSManagedObjectIDs can change.  Seriously.&lt;/p&gt;&lt;blockquote&gt;If you want a different notion of identity, you can just add an UUID string as an attribute to your entity. A separate mapping table is not recommend. The 2 apps should agree to use the same UUIDs for the same identities.&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;Ben&lt;/li&gt;&lt;/ul&gt;&lt;!--kg-card-begin: html--&gt;&lt;p style="padding-left:30px;"&gt;Ref:&amp;nbsp;&lt;a href="https://devforums.apple.com/message/480640#480640" target="_blank" rel="noopener"&gt;https://devforums.apple.com/message/480640#480640&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>